feat: convert to blink, major lsp changes, lualine
This commit is contained in:
parent
82102e5e29
commit
51ab444c0d
44 changed files with 1387 additions and 700 deletions
16
after/plugin/cmp-feedkeys-fix.lua
Normal file
16
after/plugin/cmp-feedkeys-fix.lua
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
-- Fix for nvim-cmp feedkeys issue where 'lua require"cmp.utils.feedkeys".run(#)'
|
||||
-- gets inserted into buffers instead of being executed
|
||||
-- This overrides the problematic debounce_next_tick_by_keymap function
|
||||
|
||||
local ok, async = pcall(require, 'cmp.utils.async')
|
||||
if not ok then
|
||||
return
|
||||
end
|
||||
|
||||
-- Override the problematic function with a safer implementation
|
||||
async.debounce_next_tick_by_keymap = function(callback)
|
||||
return function()
|
||||
-- Use vim.schedule instead of feedkeys to avoid inserting command text
|
||||
vim.schedule(callback)
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue