Skip to content

Commit 1433a0a

Browse files
committed
Adds coffee syn extension
1 parent 399cedc commit 1433a0a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

vim/after/syntax/coffee.vim

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
unlet b:current_syntax
2+
syntax include @HTML $VIMRUNTIME/syntax/html.vim
3+
syntax region coffeeHtmlString matchgroup=coffeeHeredoc
4+
\ start=+'''\\(\\_\\s*<\\w\\)\\@=+ end=+\\(\\w>\\_\\s*\\)\\@<='''+
5+
\ contains=@HTML
6+
syn sync minlines=300

0 commit comments

Comments
 (0)