mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-04 05:00:03 +08:00
19 lines
468 B
VimL
19 lines
468 B
VimL
|
|
function! indent_blankline#Refresh(...)
|
|
try
|
|
if a:0 > 0
|
|
call luaeval("require('indent_blankline').refresh(_A)", a:1)
|
|
else
|
|
lua require("indent_blankline").refresh()
|
|
end
|
|
catch /E12/
|
|
return
|
|
catch
|
|
if g:indent_blankline_debug
|
|
echohl Error
|
|
echom 'indent-blankline encountered an error on refresh: ' . v:exception
|
|
echohl None
|
|
endif
|
|
endtry
|
|
endfunction
|