Page 1 of 1

vim syntax highlighting

Posted: Thu Jul 16, 2015 9:36 pm
by zainin
Hi there,

I wasn't really satisfied with available syntax highlighting for vim, so I forked my own.

Improvements include proper color coding with theme support (no more operators colored as statements or conditionals as functions) and relying more on regular expressions rather than hard coded keywords. Thanks to that scripts should look better and highlighting should be RouterOS version independent.
Any suggestions are welcome.

https://github.com/zainin/vim-mikrotik

Here's a preview:
mikrotik.png

Re: vim syntax highlighting

Posted: Tue Feb 04, 2025 1:39 pm
by victhorfx
Thank you very much.