mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 11:20:06 +08:00
fix(t_ve): remove t_ve
from iedit.lua
neovim does not support t_ve option.
This commit is contained in:
parent
49b944a29d
commit
4515c6162c
@ -650,10 +650,8 @@ function M.start(...) -- {{{
|
||||
echo('no pattern found under cursor')
|
||||
return
|
||||
end
|
||||
local save_tve = vim.o.t_ve
|
||||
local save_cl = vim.wo.cursorline
|
||||
vim.wo.cursorline = false
|
||||
vim.o.t_ve = ''
|
||||
hi.hi(iedit_hi_info[1])
|
||||
hi.hi(iedit_hi_info[2])
|
||||
hi.hi(iedit_hi_info[3])
|
||||
@ -718,7 +716,6 @@ function M.start(...) -- {{{
|
||||
mode = ''
|
||||
vim.w.spacevim_iedit_mode = mode
|
||||
vim.w.spacevim_statusline_mode = 'in'
|
||||
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