From 4cfe8362fd8a839cdd7b19cb5902746fc7c97527 Mon Sep 17 00:00:00 2001 From: yemai Date: Thu, 15 Aug 2019 16:13:26 +0800 Subject: [PATCH] chore: replace tabs with spaces --- ftplugin/vue/fold.vim | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/ftplugin/vue/fold.vim b/ftplugin/vue/fold.vim index 7b18206..4c29f5f 100644 --- a/ftplugin/vue/fold.vim +++ b/ftplugin/vue/fold.vim @@ -35,18 +35,18 @@ let s:vue_tag_end = '\v^\s*\<\/(script|style|template)' " """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " see :h fold-expr -" value meaning -" 0 the line is not in a fold -" 1, 2, .. the line is in a fold with this level -" -1 the fold level is undefined, use the fold level of a -" line before or after this line, whichever is the -" lowest. -" "=" use fold level from the previous line -" "a1", "a2", .. add one, two, .. to the fold level of the previous -" line, use the result for the current line -" "s1", "s2", .. subtract one, two, .. from the fold level of the -" ">1", ">2", .. a fold with this level starts at this line -" "<1", "<2", .. a fold with this level ends at this line +" value meaning +" 0 the line is not in a fold +" 1, 2, .. the line is in a fold with this level +" -1 the fold level is undefined, use the fold level of a +" line before or after this line, whichever is the +" lowest. +" "=" use fold level from the previous line +" "a1", "a2", .. add one, two, .. to the fold level of the previous +" line, use the result for the current line +" "s1", "s2", .. subtract one, two, .. from the fold level of the +" ">1", ">2", .. a fold with this level starts at this line +" "<1", "<2", .. a fold with this level ends at this line function! GetVueFold(lnum) let this_line = getline(a:lnum) let next_line = getline(a:lnum + 1)