This repository has been archived by the owner on Jul 7, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improvements to the syntax of tutorials
makes it slightly more similar to markdowns. made the normal mode syntax highlighting separate.
- Loading branch information
Showing
6 changed files
with
399 additions
and
357 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
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=/.<Esc>\@=/ 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 | ||
|
Oops, something went wrong.
It was a mistake, forgot to get it out from debugging. I thought I reverted it later, maybe I just didn't push.