Tobias S. Josefowitz wrote:
On Mon, Jan 8, 2018 at 4:17 PM, Stephen R. van den Berg srb@cuci.nl wrote:
Vim syntax colouring goes berzerk, though ;-).
I have had some success with this one: https://github.com/vim-scripts/pike.vim/blob/master/syntax/pike.vim
Yes. And then I see a lot of things it could do better, like: - Highlighting the index values in declared mappings. - Highlighting the embedded binding parameters in SQL queries. - Using SQL-syntax highlighting in multiline strings. - Working missing parenthesis errors for *all* supported Pike paren types (which includes arrays, mappings, multisets, advisory casts, ranges, indexing, embedded lambdas). - Highlighting MutexKey operations. - Showing grayed out #if 0 or #if 1 #else sections. - Supporting cycling through all coherent preprocessor conditionals.
So I took the current c.vim, and then repaired and transmogrified it into a pike.vim which does all of the above and more (it supports all pike 8.1 constructs I could find). File is attached for the vim users on this list; I've submitted it to Vim upstream as well.