fix: remove autoselect for cmp
This commit is contained in:
parent
1cc0ee462f
commit
7fb7a08108
4 changed files with 12 additions and 11 deletions
|
|
@ -14,9 +14,10 @@ return {
|
|||
local cmp = require("cmp")
|
||||
local luasnip = require("luasnip")
|
||||
return {
|
||||
completion = {
|
||||
completeopt = "menu,menuone,noinsert",
|
||||
},
|
||||
preselect = cmp.PreselectMode.None,
|
||||
-- completion = {
|
||||
-- completeopt = "menu,menuone,noinsert",
|
||||
-- },
|
||||
snippet = {
|
||||
expand = function(args)
|
||||
require("luasnip").lsp_expand(args.body)
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ return {
|
|||
severity_sort = true,
|
||||
},
|
||||
-- Automatically format on save
|
||||
autoformat = true,
|
||||
autoformat = false,
|
||||
-- options for vim.lsp.buf.format
|
||||
-- `bufnr` and `filter` is handled by the LazyVim formatter,
|
||||
-- but can be also overridden when specified
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue