Subject: | Bison and Flex syntax highlighting |
---|---|
Date: | Wed, 04 Apr 2012 23:20:45 +0300 |
From: | Panayiotis Karabassis <pan...@gmail.com> |
To: | bu...@vim.org |
Hi! This is a feature request. Currently Vim only supports Yacc and Lex source files and displays Bison and Flex files incorrectly. Can we get support for these languages? I am willing to contribute the code for this, and have started making changes to the yacc.vim file, but there's not much point in continuing, if the changes won't be accepted. Also, to that end, I'd like to know if there are any particular rules I should follow while making the modifications (should I even be modifying yacc.vim or start anew?) and any sources of documentation/reference about Vim syntax files? Congratulations on one of the the best editors ever made! Thanks, and best regards, Panayiotis Karabassis
http://www.drchip.org/astronaut/vim/index.html#vimlinks_syntax
Regards,
Chip Campbell
Let me know if this agrees with you. It is for Bison only. Still quite
some way to go. I describe the changes in CHANGES and provide an example
for each change as well as a real-world Bison C++ parser, which was my
original motivation.
Regards,
Panayiotis