We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 499a376 commit 27903efCopy full SHA for 27903ef
after/syntax/javascript.vim
@@ -6,7 +6,7 @@
6
" so until it has specific support there's no point in loading anyway
7
" and for some reason the W3C syntax color keywords break its highlighting
8
" (this refers to the https://github.com/kchmck/vim-coffee-script plugin)
9
-if -1 < index( split( &filetype, '[.]' ), 'coffee' ) | finish | endif
+if &syntax =~# '\(^\|\.\)coffee\($\|\.\)' | finish | endif
10
11
" javaScriptX = default Vim syntax, jsX = https://github.com/pangloss/vim-javascript
12
call css_color#init('hex', 'extended'
0 commit comments