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 d11cccc..45e75d9 100644
--- a/editors/vim/syntax/bruijn.vim
+++ b/editors/vim/syntax/bruijn.vim
@@ -7,7 +7,7 @@ endif
syn match bruijnApplication /[()]/
syn match bruijnAbstraction /[[\]]/
-syn match bruijnIndex display "\d"
+syn match bruijnIndex /\([^0-9]\)\@<=\d\([^0-9]\)\@=/
syn match bruijnNumber /[+-]\d\+/
syn match bruijnDefinition /^\t*\S\+/
syn match bruijnKeyword /:test\|:import\|:print/