Skip to content

Commit

Permalink
feat(autocmd): try to improve cmp performance for cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
konosubakonoakua committed Aug 20, 2024
1 parent 8866773 commit 98b4acd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lua/config/autocmds.lua
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,8 @@ vim.api.nvim_create_autocmd("cmdwinenter", {
vim.keymap.set("n", "q", "<cmd>q<cr>", { buffer = true, silent = true, noremap = true })
end,
})
--
-- vim.cmd[[
-- autocmd CmdWinEnter * lua require('cmp').setup({enabled = false})
-- autocmd CmdWinLeave * lua require('cmp').setup({enabled = true})
-- ]]

0 comments on commit 98b4acd

Please sign in to comment.