How to configure syntax highlighting for a custom language in vim

syntax highlightingvim

We use our own little language for small tasks, but we do not have Vim highlighting support for it.

Best Answer

You can write your own syntax file and put it in ~/.vim/syntax/*.vim.

:help syntax is a good start. Take a look at the existing syntax files in /usr/share/vim too.

Related Question