cmp autocomplete cleanup

This commit is contained in:
Henrik Bakken
2021-11-29 16:56:23 +01:00
parent 038672104b
commit 544f39a634
+6 -13
View File
@@ -580,19 +580,11 @@ require("packer").startup {
})
},
sources = {
{name = "nvim_lsp"}, {name = "buffer"}
-- { name = "path" },
-- { name = "nvim_lua" },
{name = "nvim_lsp"},
{name = "buffer"},
{name = "path"},
{name = "nvim_lua"},
},
sorting = {
comparators = {
cmp.config.compare.exact, cmp.config.compare.offset,
cmp.config.compare.score,
cmp.config.compare.sort_text,
cmp.config.compare.kind, cmp.config.compare.length,
cmp.config.compare.order
}
}
})
end
}
@@ -781,7 +773,8 @@ require("packer").startup {
analysis = {
diagnosticMode = "workspace",
logLevel = "Warning",
typeCheckingMode = "basic"
typeCheckingMode = "basic",
autoImportCompletions = false,
}
}
}