Hi, Am Samstag, 11. Aug 2007, 18:35:09 -0700 schrieb maxim wexler: > I'm not happy with the highlighting scheme for > assembler files in vim(non X). I've tried all the > *asm.vim files in the syntax dir but they all suck. > > Supposedly, the *.vim files can be edited. But how? > Anybody got a link to a faq? The aggravating part is > that the color associations in the highlight files are > all called HiLink something something.
I do such things quite often. It's not so difficult. You will find the :HiLink command is a redefinition of :highlight if you have a closer look at the *.vim files. As a biginner you don't need to define your own highlight groups; just use the predefined ones. Start defining some rules using the :syntax match and region commands, for example: :set ft= :syntax match Comment +^#.*+ :syntax region String start=+^if+ end=+^endif+ contains=Comment Soon you will need the :highlight command to give your "Comment" match another name. Ask ":help syntax" when going further. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de -- [EMAIL PROTECTED] mailing list