forked from aniani/vim
patch 9.1.0836: The vimtutor can be improved
Problem: the vimtutor can be improved Solution: port and include the interactive vimtutor plugin from Neovim (by Felipe Morales) (Yegappan Lakshmanan) closes: #6414 Signed-off-by: Christian Brabandt <cb@256bit.org> Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
This commit is contained in:
committed by
Christian Brabandt
parent
6eda269600
commit
a54816b884
16
runtime/syntax/vimnormal.vim
Normal file
16
runtime/syntax/vimnormal.vim
Normal file
@@ -0,0 +1,16 @@
|
||||
syn match normalOp /[dcrypoaxv!"#%&.-\/:<>=?@ABCDGHIJKLMNOPQRSUVWXYZgmqstz~iu]/ nextgroup=normalMod
|
||||
syn match normalMod /m\@<![ia]/
|
||||
syn match normalObject /["'()<>BW\[\]`bstweE{}ftFT;,$]/
|
||||
syn match normalCount /[0-9]/
|
||||
syn region normalSearch start=/[/?]\@<=./ end=/.<CR>\@=/ contains=normalKey keepend
|
||||
syn region normalChange start=/\([cr][wWbBeE()\[\]{}pst]\)\@<=./ end=/.\@=/ contains=normalKey keepend
|
||||
syn match normalCharSearch /\c[ftr]\@<=\w/
|
||||
syn match normalMark /\(f\@<!m\)\@<=[a-zA-Z0-9]/
|
||||
syn match normalKey /<'\@!.\{-}>'\@!/
|
||||
|
||||
hi! link normalOp Operator
|
||||
hi! link normalMod PreProc
|
||||
hi! link normalObject Structure
|
||||
hi! link normalCount Number
|
||||
hi! link normalMark Identifier
|
||||
hi! link normalKey Special
|
Reference in New Issue
Block a user