mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-02 23:00:04 +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'
|
'setlocal buftype=nofile bufhidden=wipe nobuflisted nolist noswapfile nowrap cursorline nospell nonu norelativenumber'
|
||||||
)
|
)
|
||||||
vim.opt_local.fillchars = { eob = ' ' }
|
vim.opt_local.fillchars = { eob = ' ' }
|
||||||
local save_tve = vim.o.t_ve
|
|
||||||
vim.cmd('setlocal t_ve=')
|
|
||||||
local cursor_hi = {}
|
local cursor_hi = {}
|
||||||
cursor_hi = hi.group2dict('Cursor')
|
cursor_hi = hi.group2dict('Cursor')
|
||||||
local lcursor_hi = {}
|
local lcursor_hi = {}
|
||||||
@ -836,7 +834,6 @@ function M.open(argv)
|
|||||||
close_statusline()
|
close_statusline()
|
||||||
end
|
end
|
||||||
logger.info('FlyGrep ending =====================')
|
logger.info('FlyGrep ending =====================')
|
||||||
vim.o.t_ve = save_tve
|
|
||||||
hi.hi(cursor_hi)
|
hi.hi(cursor_hi)
|
||||||
hi.hi(lcursor_hi)
|
hi.hi(lcursor_hi)
|
||||||
vim.o.guicursor = guicursor
|
vim.o.guicursor = guicursor
|
||||||
|
Loading…
Reference in New Issue
Block a user