aboutsummaryrefslogtreecommitdiff
path: root/vim-snug
diff options
context:
space:
mode:
authorCamil Staps2023-06-18 21:33:53 +0200
committerCamil Staps2023-06-18 21:33:53 +0200
commite06fcb91abf5ec8403ccf03ba09a6e5ec7d11b8b (patch)
tree3361d05765f10c8601f5f9137631f251b2563188 /vim-snug
parentRemove outdated makefile (diff)
Add automated tests
Diffstat (limited to 'vim-snug')
-rw-r--r--vim-snug/syntax/snug.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/vim-snug/syntax/snug.vim b/vim-snug/syntax/snug.vim
index 0353f63..c75f751 100644
--- a/vim-snug/syntax/snug.vim
+++ b/vim-snug/syntax/snug.vim
@@ -11,11 +11,13 @@ let s:cpo_save = &cpo
set cpo&vim
syn keyword snugKeyword case data fun type
+syn keyword snugStatement test
syn keyword snugTodo TODO FIXME XXX BUG NB contained containedin=snugComment
syn match snugChar /'[^'\\]'/ display
syn match snugInt /\d\+/ display
+syn region snugString start=+"+ end=+"+ oneline
syn match snugDelimiter /\v[\[\]\(\):;=,]/ display
@@ -24,8 +26,10 @@ syn match snugIdentifier /^[_a-zA-Z]\+/ display
syn region snugComment start="(#" end="#)" contains=@Spell,snugComment display
hi def link snugKeyword Keyword
+hi def link snugStatement Statement
hi def link snugChar Character
hi def link snugInt Number
+hi def link snugString String
hi def link snugDelimiter Delimiter
hi def link snugIdentifier Identifier
hi def link snugTodo Todo