vim syntax - Editors
This is a discussion on vim syntax - Editors ; Hi
I create .vim/after/syntax and put all my vim coloring syntax. I also
edit vimrc to put syntax on. My vim version is 7.1.138 and I use
Ubuntu. I don't see the colors in my file.
Can you help me. ...
-
vim syntax
Hi
I create .vim/after/syntax and put all my vim coloring syntax. I also
edit vimrc to put syntax on. My vim version is 7.1.138 and I use
Ubuntu. I don't see the colors in my file.
Can you help me. Is something I should do ?
Thanks
-
Re: vim syntax
jan09876@hotmail.com wrote:
> Hi
> I create .vim/after/syntax and put all my vim coloring syntax. I also
> edit vimrc to put syntax on. My vim version is 7.1.138 and I use
> Ubuntu. I don't see the colors in my file.
> Can you help me. Is something I should do ?
Do you have filetype detection enabled? What does the following command
show?
:filetype
Beyond that, you haven't provided enough specific information for anyone
to be of any help to you. If one generally does what you said you did,
then syntax coloring should generally work. It works for everyone else.
If it doesn't work for you, then you have a specific problem and we need
to know specifically what you did and a specific example of how it is
not working as you expect it to.
I'm not sure, but I believe that the vim supplied with Ubuntu has syntax
coloring enabled "out of the box", so it should just work without you
having to do anything special. Are you using the vim that came with
your Ubuntu system or did you build vim yourself? Has syntax coloring
ever worked for you? Are you using vim or gvim?
--
Gary Johnson