mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2025-12-08 21:54:46 +08:00
refact: rename hook to 'GetVueTag'
This commit is contained in:
@@ -166,7 +166,7 @@ function! s:SynVueScope(syn)
|
|||||||
return a:syn =~? '\v^(vueStyle)|(vueScript)'
|
return a:syn =~? '\v^(vueStyle)|(vueScript)'
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! GetVueCurrentTag()
|
function! GetVueTag()
|
||||||
let lnum = getcurpos()[1]
|
let lnum = getcurpos()[1]
|
||||||
let cursyns = s:SynsEOL(lnum)
|
let cursyns = s:SynsEOL(lnum)
|
||||||
let first_syn = get(cursyns, 0)
|
let first_syn = get(cursyns, 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user