aboutsummaryrefslogtreecommitdiffhomepage
path: root/editors/vim/syntax
diff options
context:
space:
mode:
Diffstat (limited to 'editors/vim/syntax')
-rw-r--r--editors/vim/syntax/bruijn.vim8
1 files changed, 6 insertions, 2 deletions
diff --git a/editors/vim/syntax/bruijn.vim b/editors/vim/syntax/bruijn.vim
index 45e75d9..8bd194c 100644
--- a/editors/vim/syntax/bruijn.vim
+++ b/editors/vim/syntax/bruijn.vim
@@ -14,16 +14,20 @@ syn match bruijnKeyword /:test\|:import\|:print/
syn match bruijnNamespace /[A-Z][a-z]*\(\.\)\@=/
syn match bruijnNamespaceDelim /\([A-Z][a-z]*\)\@<=\./
-syn region bruijnCommentLine start="^# " end="$"
+syn region bruijnCommentLine start="^# " end="$" oneline
+syn region bruijnString start=+"+ end=+"+ oneline
+syn region bruijnChar start=+'+ end=+'+ oneline
hi def link bruijnIndex Special
hi def link bruijnNumber Number
+hi def link bruijnString String
+hi def link bruijnChar String
hi def link bruijnDefinition Define
hi def link bruijnKeyword Macro
hi def link bruijnNamespace Type
hi def link bruijnNamespaceDelim Special
hi def link bruijnAbstraction Function
-hi def link bruijnApplication String
+hi def link bruijnApplication Statement
hi def link bruijnCommentLine Comment
let b:current_syntax = "bruijn"