mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2025-12-07 21:24:50 +08:00
chore: clean code
This commit is contained in:
@@ -102,7 +102,6 @@ function! GetVueIndent()
|
||||
if SynsPug(prevsyns)
|
||||
call s:LogMsg('syntax: pug')
|
||||
let ind = GetPugIndent()
|
||||
|
||||
elseif SynsHTML(prevsyns)
|
||||
call s:LogMsg('syntax: html')
|
||||
let ind = XmlIndentGet(v:lnum, 0)
|
||||
@@ -142,8 +141,8 @@ function! GetVueIndent()
|
||||
call s:LogMsg('prev line is vue tag')
|
||||
let ind = 0
|
||||
endif
|
||||
call s:LogMsg('result indent: '.ind)
|
||||
|
||||
call s:LogMsg('result indent: '.ind)
|
||||
return ind
|
||||
endfunction
|
||||
|
||||
|
||||
Reference in New Issue
Block a user