mirror of
https://github.com/mattn/emmet-vim.git
synced 2026-10-17 03:21:23 +08:00
fix toggleComment.
This commit is contained in:
1 parent
dd44d64d56
commit
06dd83dad3
1 file changed
+2
-1
@@ -421,7 +421,8 @@ function! zencoding#imageSize()
|
||||
endfunction
|
||||
|
||||
function! zencoding#toggleComment()
|
||||
let rtype = len(globpath(&rtp, 'autoload/zencoding/lang/'.&ft.'.vim')) ? &ft : 'html'
|
||||
let type = zencoding#getFileType()
|
||||
let rtype = len(globpath(&rtp, 'autoload/zencoding/lang/'.type.'.vim')) ? type : 'html'
|
||||
return zencoding#lang#{rtype}#toggleComment()
|
||||
endfunction
|
||||
|
||||
|
||||
Reference in new issue
Block a user