On 04/11/2012 12:27 AM, Charles Campbell wrote: > Panayiotis Karabassis wrote: >> As suggested I forward this email here. >> >> -------- Original Message -------- >> Subject: Bison and Flex syntax highlighting >> Date: Wed, 04 Apr 2012 23:20:45 +0300 >> From: Panayiotis Karabassis <[email protected]> >> To: [email protected] >> >> >> >> 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! >> > If you wish to make modifications yourself, that's fine -- please send > them to me. Plus, send examples of the yacc/lex code that you're > affecting. > I'd prefer it if you made your modifications against the latest > yacc.vim and lex.vim, which are on my website under > > 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 -- 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
bison-flex-vim-0.01.tar.gz
Description: application/gzip
