I am trying to create a very simple syntax highlighting file for vim. Highlighting is working for standard files such as .vim files
Example file t.pp
LN1 = LINE/0,0,2,0 $$ COMMENT
LN2 = LINE/PARLEL,LN1,XLARGE,1 % COMMENT
$$ COMMENT
% COMMENT
I want the word LINE to be one color and the words PARLEL and XLARGE to be another color. There are more words of each type which I want to be able to add. Everything after $$ or % is a comment which could be a third color.
Any help greatly appreciated.
CaKiwi
Example file t.pp
LN1 = LINE/0,0,2,0 $$ COMMENT
LN2 = LINE/PARLEL,LN1,XLARGE,1 % COMMENT
$$ COMMENT
% COMMENT
I want the word LINE to be one color and the words PARLEL and XLARGE to be another color. There are more words of each type which I want to be able to add. Everything after $$ or % is a comment which could be a third color.
Any help greatly appreciated.
CaKiwi