mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2025-12-10 22:51:52 +08:00
Fix fold level of blank lines in <script>
This commit is contained in:
@@ -73,7 +73,7 @@ endfunction
|
|||||||
|
|
||||||
function! s:FoldForSpecialLine(this_line)
|
function! s:FoldForSpecialLine(this_line)
|
||||||
if a:this_line =~ s:empty_line
|
if a:this_line =~ s:empty_line
|
||||||
return -1
|
return '='
|
||||||
elseif a:this_line =~ s:vue_tag_start
|
elseif a:this_line =~ s:vue_tag_start
|
||||||
return '>1'
|
return '>1'
|
||||||
elseif a:this_line =~ s:vue_tag_end
|
elseif a:this_line =~ s:vue_tag_end
|
||||||
|
|||||||
Reference in New Issue
Block a user