On 15/11/12 02:03, hilal Adam wrote:
------------------------------------------------------------------------
*From:* Tony Mechelynck <[email protected]>
*To:* [email protected]
*Cc:* hilal Adam <[email protected]>
*Sent:* Wednesday, November 14, 2012 6:00 PM
*Subject:* Re: Syntax highlighting
On 15/11/12 00:42, hilal Adam wrote:
> I wasn't able to find a related fix for this problem. Sorry if this is a
> repeat question.
> Hope to get some help with this.
> I suddenly (not sure when) lost the syntax highlighting for my file
> types when I start VIM. When I attempt to do "syntax on", I get
> following error:
> "Error detected while processing c:\Program
> Files\Vim\vim73\syntax\syntax.vim:
> line 42:
> E216: No such groug or event: filetypedetect BufRead
>
> Thanks in advance for your help.
>
> -H
Do you have a vimrc (which Vim would see as $HOME/_vimrc on Windows or
$HOME/.vimrc on Unix-like systems)? If you don't, I recommend the
following one-liner:
runtime vimrc_example.vim
Later you may want to add more customizations, usually below that line.
Best regards,
Tony.
-- "I don't like spinach, and I'm glad I don't, because if I liked it I'd
eat it, and I just hate it."
-- Clarence Darrow
-- You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Oh. Yes I do. Following lines are included:
filetype on
filetype plugin on
filetype indent on
syntax on
Thanks for your reply.
Hm. Then the output of the :scriptnames command should show the
following near the top:
_vimrc
filetype.vim
ftplugin.vim
indent.vim
syntax.vim
synload.vim
syncolor.vim
not necessarily in that order, and with possibly in gvim a menu.vim
somewhere between them. Full paths are included. Do they look
reasonable? I would expect these files to be in "C:/Program
Files/Vim/vim73/" and its subdirectories, shown with either forward
slashes or backslashes as separators, except for your vimrc, which
should be found in some directory which depends on your login name.
Best regards,
Tony.
--
ARTHUR: Go on, Bors, chop its head off.
BORS: Right. Silly little bleeder. One rabbit stew coming up.
"Monty Python and the Holy Grail" PYTHON (MONTY)
PICTURES LTD
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php