diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/vim/tablegen.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/vim/tablegen.vim b/utils/vim/tablegen.vim index 41a0c59..7ab8e2c 100644 --- a/utils/vim/tablegen.vim +++ b/utils/vim/tablegen.vim @@ -11,8 +11,9 @@ endif syn case match -syn keyword tgKeyword def let in code dag field +syn keyword tgKeyword def let in code dag field include syn keyword tgType class int string list bit bits +" FIXME: this does not handle hex (0x...) or binary (0b...) constants syn match tgNumber /\<\d\+\>/ syn match tgNumber /\<\d\+\.\d*\>/ syn match tgComment /\/\/.*$/ |