You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let default =get(g:, 'codeium_tab_fallback', pumvisible() ? "\<C-N>" : "\t")
If a user changes the default keybind for codeium#Accept, whenever he uses that key and there's no completion available -
a tab (\t) will be inserted.
For example, if user sets this as per readme: vim.keymap.set('i', '<C-g>', function () return vim.fn['codeium#Accept']() end, { expr = true, silent = true })
when no completions available a \t will be used.
The solution at present is to use: vim.g.codeium_tab_fallback = '<C-g>'
I think this needs to be resolved, with the plugin code defaulting to normal key behaviour if no completion,
Or at least mention this behaviour in readme until fixed.
Thanks
The text was updated successfully, but these errors were encountered:
codeium.vim/autoload/codeium.vim
Line 40 in a1c3d6b
If a user changes the default keybind for codeium#Accept, whenever he uses that key and there's no completion available -
a tab (
\t
) will be inserted.For example, if user sets this as per readme:
vim.keymap.set('i', '<C-g>', function () return vim.fn['codeium#Accept']() end, { expr = true, silent = true })
when no completions available a
\t
will be used.The solution at present is to use:
vim.g.codeium_tab_fallback = '<C-g>'
I think this needs to be resolved, with the plugin code defaulting to normal key behaviour if no completion,
Or at least mention this behaviour in readme until fixed.
Thanks
The text was updated successfully, but these errors were encountered: