Merge pull request #3 from cumuru/master

FIX: Block comments have to be the first non-space on their line
This commit is contained in:
Elmar Hinz 2016-04-30 21:37:22 +02:00
commit a35598c0a0

View file

@ -6,7 +6,7 @@ endif
setlocal isident=@,48-57,-,.,_,192-255
" Top level elements
syntax region tsComment keepend start="\/\*" end="\*\/"
syntax region tsComment keepend start="^\s*\/\*" end="^\s*\*\/.*$"
syntax region tsComment keepend start="^\s*#" end="$"
syntax region tsComment keepend start="\v^\s*\/\/" end="$"
syntax region tsInclude keepend start="\v^\s*\<" end="\v\>\s*$"