diff --git a/.config/nvim/syntax/ruler.vim b/.config/nvim/syntax/ruler.vim index c82ba8d6..83eb0ff7 100644 --- a/.config/nvim/syntax/ruler.vim +++ b/.config/nvim/syntax/ruler.vim @@ -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