fix autocomplete
This commit is contained in:
parent
796164f358
commit
af1cc17074
2 changed files with 6 additions and 7 deletions
5
init.lua
5
init.lua
|
|
@ -607,10 +607,9 @@ require('lazy').setup({
|
|||
local servers = {
|
||||
clangd = {},
|
||||
pyright = {},
|
||||
htmx = {},
|
||||
bashls = {},
|
||||
jsonls = {},
|
||||
tsserver = {},
|
||||
ts_ls = {},
|
||||
eslint = {},
|
||||
rust_analyzer = {},
|
||||
cssls = {},
|
||||
|
|
@ -783,7 +782,7 @@ 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 },
|
||||
['<CR>'] = cmp.mapping.confirm { select = false },
|
||||
|
||||
-- If you prefer more traditional completion keymaps,
|
||||
-- you can uncomment the following lines
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue