From 898b9c16d61d0980a5c8b0a801ebe96e1532a21f Mon Sep 17 00:00:00 2001 From: yemai Date: Mon, 20 May 2019 15:12:39 +0800 Subject: [PATCH] chore: clean code --- indent/vue.vim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/indent/vue.vim b/indent/vue.vim index 6118c0a..17260aa 100644 --- a/indent/vue.vim +++ b/indent/vue.vim @@ -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