TOOL ยป VIM

Syntax highlight

Change syntax highlight โ€‹

vim
set filetype=markdown
set syntax=markdown

Modeline โ€‹

Add the following to the beginning or end of a file, as a comment.

vim
vim: filetype=neomuttrc

Synchronize โ€‹

If syntax highlight is broken, run:

vim
syntax sync fromstart