Community discussions

MikroTik App
 
zainin
just joined
Topic Author
Posts: 4
Joined: Sun Sep 21, 2014 2:20 pm

vim syntax highlighting

Thu Jul 16, 2015 9:36 pm

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
You do not have the required permissions to view the files attached to this post.
 
User avatar
victhorfx
just joined
Posts: 2
Joined: Tue Sep 19, 2023 8:13 am
Location: México
Contact:

Re: vim syntax highlighting

Tue Feb 04, 2025 1:39 pm

Thank you very much.