fix(nvim): cmp finally stopped jumping around

This commit is contained in:
Léana 江 2023-04-17 21:53:27 +02:00 committed by Léana 江
parent 859e77550e
commit d2c8493f28
10 changed files with 61 additions and 109 deletions

View file

@ -27,6 +27,8 @@ vim.opt.smartindent = true
vim.opt.scrolloff = 14
vim.opt.cmdheight = 0
vim.api.nvim_create_autocmd("TextYankPost", {
callback = function()
vim.highlight.on_yank()