We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d7a369 commit afc4f4dCopy full SHA for afc4f4d
lua/blink/cmp/config/init.lua
@@ -122,6 +122,9 @@ end
122
--- Overrides
123
124
function M.enabled()
125
+ -- disable in macros
126
+ if vim.fn.reg_recording() ~= '' or vim.fn.reg_executing() ~= '' then return false end
127
+
128
if vim.api.nvim_get_mode().mode == 'c' or vim.fn.win_gettype() == 'command' then return config.cmdline.enabled end
129
if vim.api.nvim_get_mode().mode == 't' then return config.term.enabled end
130
0 commit comments