Syntax Highlighting >
vim - VI iMproved, version 5.7
To add syntax highlighting to vim you need to be root.
- Copy the file dtone.vim to /usr/share/vim/vim57/syntax/
- In the file /usr/share/vim/vim57/syntax/synload.vim add following line:
to all the other SynAu entires.
- In the file /usr/share/vim/vim57/filetype.vim add following line:
to all the other entires looking the same way... for me it was line 203.
au BufNewFile,BufRead *.d set ft=dtone
- After next restart of vim, it should now colorize the Dtone files.