aboutsummaryrefslogtreecommitdiffhomepage
path: root/editors/vim/syntax/bruijn.vim
diff options
context:
space:
mode:
Diffstat (limited to 'editors/vim/syntax/bruijn.vim')
-rw-r--r--editors/vim/syntax/bruijn.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/vim/syntax/bruijn.vim b/editors/vim/syntax/bruijn.vim
index fbe7a47..4f20593 100644
--- a/editors/vim/syntax/bruijn.vim
+++ b/editors/vim/syntax/bruijn.vim
@@ -10,8 +10,8 @@ syn match bruijnAbstraction /[[\]]/
syn match bruijnIndex /\([^0-9A-Za-z]\)\@<=\d\([^0-9]\)\@=/
syn match bruijnChar /'\@<=.'\@=/
syn match bruijnNumber /([+-]\d\+[dubt]\?)/
-syn match bruijnFloat /([+-]\d\+\.\d\+[fr]\?)/
-syn match bruijnComplex /([+-]\d\+\.\d\+i[+-]\d\+\.\d\+)/
+syn match bruijnFloat /([+-]\d\+\.\d\+[qr]\?)/
+syn match bruijnComplex /([+-]\d\+\.\d\+[+-]\d\+\.\d\+i)/
syn match bruijnDefinition /^\t*\S\+/
syn match bruijnType /\( ⧗ \)\@<=.*$/
syn match bruijnTypeDelim / ⧗ /