mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +00:00
runtime: Enhance help.vim to highlight Nvim/NVIM
This commit is contained in:
@@ -42,6 +42,8 @@ syn match helpNormal "|||"
|
|||||||
syn match helpNormal ":|vim:|" " for :help modeline
|
syn match helpNormal ":|vim:|" " for :help modeline
|
||||||
syn match helpVim "\<Vim version [0-9][0-9.a-z]*"
|
syn match helpVim "\<Vim version [0-9][0-9.a-z]*"
|
||||||
syn match helpVim "VIM REFERENCE.*"
|
syn match helpVim "VIM REFERENCE.*"
|
||||||
|
syn match helpVim "\<Nvim\."
|
||||||
|
syn match helpVim "NVIM REFERENCE.*"
|
||||||
syn match helpOption "'[a-z]\{2,\}'"
|
syn match helpOption "'[a-z]\{2,\}'"
|
||||||
syn match helpOption "'t_..'"
|
syn match helpOption "'t_..'"
|
||||||
syn match helpCommand "`[^` \t]\+`"hs=s+1,he=e-1 contains=helpBacktick
|
syn match helpCommand "`[^` \t]\+`"hs=s+1,he=e-1 contains=helpBacktick
|
||||||
|
Reference in New Issue
Block a user