diff options
author | Marvin Borner | 2022-08-08 14:17:30 +0200 |
---|---|---|
committer | Marvin Borner | 2022-08-08 14:17:30 +0200 |
commit | 0360160a38aa3b04f666f2b347aed25242340d49 (patch) | |
tree | 5465bc7f5f8d12cef7dbff9e645062911d0c6404 /editors/vim | |
parent | f6fe760b2dc2abd91812d55a8120911e5d744e66 (diff) |
Tighter syntax rules
Diffstat (limited to 'editors/vim')
-rw-r--r-- | editors/vim/syntax/bruijn.vim | 2 |
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/ |