I'm not sure there are tutorials, but the basic steps are:
- Read
:help syntaxfrom Vim, all this to understand how syntax highlighting works in Vim - Look at the existing syntax file in the $ VIMRUNTIME \ syntax, indicating the language closest to what you want. By adapting an existing file, you don't have to rewrite everything from scratch.
- (+ ), , , .
- .vimrc, :
au BufNewFile,BufRead *.newtype set filetype=newtype
, , , - language.vim. vim.org, github.