aboutsummaryrefslogtreecommitdiffhomepage
path: root/editors/vim/syntax
diff options
context:
space:
mode:
Diffstat (limited to 'editors/vim/syntax')
-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]*\(\.\)\@=/