On Wed, Apr 8, 2009 at 5:54 AM, Mr.SpOOn wrote:
>
> Hi,
> I noticed that when I open an html file with file it takes a lot of time.
> I mean, also if I just create an empty index.html file.
>
> For "a lot of time" I mean about 10 seconds. What happens is that it
> opens Vim with this written in the bottom line:
>
> "index.html" [New File]
>
> Then, after about 10 seconds appears the cursor, the column with row
> numbers and the status line.
> If I do the same operation with other file types (python, c, etc.) it
> is and istantaneous operation.
>
> I thought it could depend on the HTML filetype plugin, but I try to
> remove it and nothing changed.
> Any suggestion?

Compare

vim test.html -c 'scriptnames'

with

vim test -c 'scriptnames'

and to get a list of different scripts being loaded, and then try to
figure out which of the ones that's only being loaded for html files
is causing problems.  With the information you've given, that's the
best suggestion I can make.

~Matt

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to