dotfiles/nvim/syntax/dream.vim
2022-01-30 01:18:46 +01:00

10 lines
405 B
VimL

" Syntax highlighting for .dream files.
syntax match dreamGrime '\v\d'
syntax match dreamComments '\v^\^(.*)$'
syntax match dreamCommands '\v^\^ (tags|title|secret|align|curtains|grimes|colour) \^ (.*) \^$'
syntax match dreamIllegal '\v^\^ (justify|color) \^ (.*) \^$'
hi def link dreamGrime Identifier
hi def link dreamComments Comment
hi def link dreamCommands Statement
hi def link dreamIllegal Error