aboutsummaryrefslogtreecommitdiffhomepage
path: root/editors/vim
diff options
context:
space:
mode:
authorMarvin Borner2022-08-12 18:43:27 +0200
committerMarvin Borner2022-08-12 19:47:47 +0200
commitcbc9a382e356951896a21f80f52e0e5b3e8c4e1f (patch)
tree4ba22cea48d2ac36a8ab8c12557007431602a6ab /editors/vim
parentcce495b3b4440997274ecab3d72ed61d6a50b007 (diff)
Added prefix support
Needs some work regarding namespaces
Diffstat (limited to 'editors/vim')
-rw-r--r--editors/vim/syntax/bruijn.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/vim/syntax/bruijn.vim b/editors/vim/syntax/bruijn.vim
index 8bd194c..5ea9017 100644
--- a/editors/vim/syntax/bruijn.vim
+++ b/editors/vim/syntax/bruijn.vim
@@ -8,7 +8,7 @@ endif
syn match bruijnApplication /[()]/
syn match bruijnAbstraction /[[\]]/
syn match bruijnIndex /\([^0-9]\)\@<=\d\([^0-9]\)\@=/
-syn match bruijnNumber /[+-]\d\+/
+syn match bruijnNumber /([+-]\d\+)/
syn match bruijnDefinition /^\t*\S\+/
syn match bruijnKeyword /:test\|:import\|:print/
syn match bruijnNamespace /[A-Z][a-z]*\(\.\)\@=/