Fix indent 2 attempt
This commit is contained in:
parent
530e21807f
commit
2bb39d6994
21
init.lua
21
init.lua
|
|
@ -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
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue