Fix indent 2 attempt

This commit is contained in:
marcinburzynski 2026-01-25 23:46:08 +01:00
parent 530e21807f
commit 2bb39d6994
No known key found for this signature in database
GPG Key ID: 5BCFD85D87999C32
1 changed files with 21 additions and 0 deletions

View File

@ -809,6 +809,27 @@ require('lazy').setup({
-- See :h blink-cmp-config-keymap for defining your own keymap
preset = 'default',
['<Tab>'] = {
function(cmp)
if cmp.is_visible() then
return cmp.select_next()
end
end,
'fallback',
},
['<S-Tab>'] = {
function(cmp)
if cmp.is_visible() then
return cmp.select_prev()
end
end,
'fallback',
},
['<CR>'] = { 'accept', 'fallback' },
['<C-Space>'] = { 'show', 'show_documentation', 'hide_documentation' },
['<C-e>'] = { 'hide' },
-- For more advanced Luasnip keymaps (e.g. selecting choice nodes, expansion) see:
-- https://github.com/L3MON4D3/LuaSnip?tab=readme-ov-file#keymaps
},