summaryrefslogtreecommitdiffstats
path: root/syntax/forth.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/forth.vim')
-rw-r--r--syntax/forth.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/syntax/forth.vim b/syntax/forth.vim
index 4090be42..94bb78be 100644
--- a/syntax/forth.vim
+++ b/syntax/forth.vim
@@ -185,7 +185,7 @@ syn keyword forthMath DECIMAL HEX BASE
syn match forthInteger '\<-\=[0-9]\+.\=\>'
syn match forthInteger '\<&-\=[0-9]\+.\=\>'
" recognize hex and binary numbers, the '$' and '%' notation is for gforth
-syn match forthInteger '\<\$\x*\x\+\>' " *1* --- dont't mess
+syn match forthInteger '\<\$\x*\x\+\>' " *1* --- don't mess
syn match forthInteger '\<\x*\d\x*\>' " *2* --- this order!
syn match forthInteger '\<%[0-1]*[0-1]\+\>'
syn match forthFloat '\<-\=\d*[.]\=\d\+[DdEe]\d\+\>'