mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2026-10-23 14:27:06 +08:00
Add code comment
This commit is contained in:
1 parent
bc4ea4dbfe
commit
a64b99f0b0
1 file changed
+2
@@ -63,6 +63,8 @@ endfunction
|
|||||||
function! s:SetCurrentSyntax(type)
|
function! s:SetCurrentSyntax(type)
|
||||||
if a:type == 'coffee'
|
if a:type == 'coffee'
|
||||||
syntax cluster coffeeJS contains=@htmlJavaScript
|
syntax cluster coffeeJS contains=@htmlJavaScript
|
||||||
|
|
||||||
|
" Avoid overload of `javascript.vim`
|
||||||
let b:current_syntax = 'vue'
|
let b:current_syntax = 'vue'
|
||||||
else
|
else
|
||||||
unlet! b:current_syntax
|
unlet! b:current_syntax
|
||||||
|
|||||||
Reference in new issue
Block a user