mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2025-12-08 13:44:46 +08:00
Add code comment
This commit is contained in:
@@ -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