fix trouble and set LSP autocomplete key to Tab

pull/1444/head
Eric Olerud 9 months ago
parent 4323cb847b
commit 7a86cc4b56

@ -658,7 +658,8 @@ require('lazy').setup({
-- Accept ([y]es) the completion.
-- This will auto-import if your LSP supports it.
-- This will expand snippets if the LSP sent a snippet.
['<C-y>'] = cmp.mapping.confirm { select = true },
-- original: ['<C-y>'] = cmp.mapping.confirm { select = true },
['<Tab>'] = cmp.mapping.confirm { select = true },
-- Manually trigger a completion from nvim-cmp.
-- Generally you don't need this, because nvim-cmp will display

@ -1,6 +1,7 @@
return {
'folke/trouble.nvim',
branch = 'dev', -- IMPORTANT!
-- branch = 'dev', -- IMPORTANT!
cmd = 'Trouble',
keys = {
{
'<leader>xx',

Loading…
Cancel
Save