mirror of
https://codeberg.org/leana8959/.files.git
synced 2026-02-01 14:39:39 +00:00
nvim/ruler: make comment hl-group recursive
This commit is contained in:
parent
45c4e95843
commit
8b15436a35
1 changed files with 3 additions and 3 deletions
|
|
@ -10,10 +10,10 @@ syn match rulerLineComment "--.*$"
|
|||
syn match rulerTripleDot "\.\.\."
|
||||
syn match rulerDate "\d\d\d\d\D\d\d\D\d\d \d\d\D\d\d\D\(\d\d\|__\)"
|
||||
syn match rulerTag "\s\+[a-zA-Z]\+:[^\n]*"
|
||||
syn match rulerImport "import"
|
||||
syn match rulerType "type"
|
||||
syn keyword rulerImport import
|
||||
syn keyword rulerType type
|
||||
|
||||
syn region rulerBlockComment start="{-" end="-}"
|
||||
syn region rulerBlockComment start="{-" end="-}" contains=rulerBlockComment
|
||||
|
||||
hi def link rulerLineComment Comment
|
||||
hi def link rulerBlockComment Comment
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue