mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2025-12-07 21:24:50 +08:00
Add a: to function arg 'lnum'
This commit is contained in:
@@ -282,7 +282,7 @@ function! s:PrevMultilineEmptyTag(lnum)
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:PrevNonBlacnkNonComment(lnum)
|
function! s:PrevNonBlacnkNonComment(lnum)
|
||||||
let curline = getline(lnum)
|
let curline = getline(a:lnum)
|
||||||
let cursyns = s:SynsEOL(a:lnum)
|
let cursyns = s:SynsEOL(a:lnum)
|
||||||
let cursyn = get(cursyns, 1, '')
|
let cursyn = get(cursyns, 1, '')
|
||||||
if cursyn =~? 'comment' && !empty(curline)
|
if cursyn =~? 'comment' && !empty(curline)
|
||||||
|
|||||||
Reference in New Issue
Block a user