From f8b280e03e099b6692275dd1db3d4f985545cf47 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 11 Mar 2024 21:49:10 +0800 Subject: [PATCH] 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 --- lua/spacevim/plugin/flygrep.lua | 3 --- 1 file changed, 3 deletions(-) diff --git a/lua/spacevim/plugin/flygrep.lua b/lua/spacevim/plugin/flygrep.lua index 985d1c423..e56a7d7f8 100644 --- a/lua/spacevim/plugin/flygrep.lua +++ b/lua/spacevim/plugin/flygrep.lua @@ -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