Handle folding in script and template/style separately

This commit is contained in:
leafOfTree committed 2020-04-13 14:53:02 +08:00
1 parent e237cabce1
commit 6a958cedcc
2 files changed
+28 -13

No files matched your search

+6 -2
View File
@@ -269,8 +269,12 @@ function! s:PrevNonBlacnkNonComment(lnum)
return prevlnum
endfunction
function! GetVueTag()
let lnum = getcurpos()[1]
function! GetVueTag(...)
if a:0 > 0
let lnum = a:1
else
let lnum = getcurpos()[1]
endif
let cursyns = s:SynsEOL(lnum)
let syn = get(cursyns, 0, '')