mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 19:25:11 -07:00
4fc1ab779d
vim-tutor-mode provides a mechanism to write and read interactive tutorials in vim. It's aim is to replace the venerable vimtutor with a more modern system. The plugin's development is maintained at https://github.com/fmoralesc /vim-tutor-mode Closes #2351.
17 lines
708 B
VimL
17 lines
708 B
VimL
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
|