Added cindent as a fallback function
This commit is contained in:
parent
f7d6f3ae44
commit
489e3522d7
|
@ -0,0 +1,4 @@
|
|||
" ALL OF THE FOLLOWING IS T
|
||||
" Some preliminary settings
|
||||
setlocal nolisp " Make sure lisp indenting doesn't supersede us
|
||||
setlocal indentexpr=cindent(v:lnum)
|
|
@ -18,6 +18,9 @@ syntax keyword hblangBoolean true false
|
|||
syntax match hblangDirective /@\<\a\+\>/
|
||||
syntax match hblangFunction /[a-zA-Z_]\+\ze(/
|
||||
|
||||
syntax keyword hblangType int bool void
|
||||
syntax match hblangType /u\d\+/
|
||||
syntax match hblangType /i\d\+/
|
||||
|
||||
syntax region hblangString start=/"/ skip=/\\"/ end=/"/ oneline
|
||||
syntax region hblangComment start=/\/\// end=/\n/ oneline
|
||||
|
|
Loading…
Reference in a new issue