Add ruff and enter as confirm

This commit is contained in:
Fernando Muñoz Paredes 2024-04-30 00:25:36 +02:00
parent 745201acb3
commit 13ed809d82
1 changed files with 2 additions and 0 deletions

View File

@ -558,6 +558,7 @@ require('lazy').setup({
-- clangd = {},
-- gopls = {},
pyright = {},
ruff = {},
taplo = {}, -- LSP for toml files
-- rust_analyzer = {},
-- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
@ -721,6 +722,7 @@ require('lazy').setup({
-- 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 = true },
-- Manually trigger a completion from nvim-cmp.
-- Generally you don't need this, because nvim-cmp will display