Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 401 Bytes

vim.md

File metadata and controls

13 lines (11 loc) · 401 Bytes

vim

If you want syntax highlighting support for Navi in Vim, add those syntax rules to your syntax files such as at $VIMRUNTIME/syntax/navi.vim. The rules are defined based on the Cheatsheet syntax.

syntax match Comment "\v^;.*$"
syntax match Statement "\v^\%.*$"
syntax match Operator "\v^\#.*$"
syntax match String "\v\<.*\>"
syntax match String "\v^\$.*$"