Mercurial > vim
comparison runtime/syntax/forth.vim @ 25773:11b656e74444
Update runtime files
Commit: https://github.com/vim/vim/commit/6c391a74fe90190796ca0b0c010112948a6e75d7
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Sep 9 21:55:11 2021 +0200
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 09 Sep 2021 22:00:10 +0200 |
parents | 5b7ea82bc18f |
children | cc751d944b7e |
comparison
equal
deleted
inserted
replaced
25772:55753c17b73d | 25773:11b656e74444 |
---|---|
179 " numbers | 179 " numbers |
180 syn keyword forthMath DECIMAL HEX BASE | 180 syn keyword forthMath DECIMAL HEX BASE |
181 syn match forthInteger '\<-\=[0-9]\+.\=\>' | 181 syn match forthInteger '\<-\=[0-9]\+.\=\>' |
182 syn match forthInteger '\<&-\=[0-9]\+.\=\>' | 182 syn match forthInteger '\<&-\=[0-9]\+.\=\>' |
183 " recognize hex and binary numbers, the '$' and '%' notation is for gforth | 183 " recognize hex and binary numbers, the '$' and '%' notation is for gforth |
184 syn match forthInteger '\<\$\x*\x\+\>' " *1* --- dont't mess | 184 syn match forthInteger '\<\$\x*\x\+\>' " *1* --- don't mess |
185 syn match forthInteger '\<\x*\d\x*\>' " *2* --- this order! | 185 syn match forthInteger '\<\x*\d\x*\>' " *2* --- this order! |
186 syn match forthInteger '\<%[0-1]*[0-1]\+\>' | 186 syn match forthInteger '\<%[0-1]*[0-1]\+\>' |
187 syn match forthFloat '\<-\=\d*[.]\=\d\+[DdEe]\d\+\>' | 187 syn match forthFloat '\<-\=\d*[.]\=\d\+[DdEe]\d\+\>' |
188 syn match forthFloat '\<-\=\d*[.]\=\d\+[DdEe][-+]\d\+\>' | 188 syn match forthFloat '\<-\=\d*[.]\=\d\+[DdEe][-+]\d\+\>' |
189 | 189 |