mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 10:40:03 +08:00
fix(flygrep): remove t_ve
option
neovim 0.10.0-dev always show unknown option: t_ve when use `vim.o.t_ve`. but `exists('&t_ve')` return 1
This commit is contained in:
parent
c46968d5e1
commit
f8b280e03e
@ -777,8 +777,6 @@ function M.open(argv)
|
||||
'setlocal buftype=nofile bufhidden=wipe nobuflisted nolist noswapfile nowrap cursorline nospell nonu norelativenumber'
|
||||
)
|
||||
vim.opt_local.fillchars = { eob = ' ' }
|
||||
local save_tve = vim.o.t_ve
|
||||
vim.cmd('setlocal t_ve=')
|
||||
local cursor_hi = {}
|
||||
cursor_hi = hi.group2dict('Cursor')
|
||||
local lcursor_hi = {}
|
||||
@ -836,7 +834,6 @@ function M.open(argv)
|
||||
close_statusline()
|
||||
end
|
||||
logger.info('FlyGrep ending =====================')
|
||||
vim.o.t_ve = save_tve
|
||||
hi.hi(cursor_hi)
|
||||
hi.hi(lcursor_hi)
|
||||
vim.o.guicursor = guicursor
|
||||
|
Loading…
Reference in New Issue
Block a user