cmp autocomplete cleanup
This commit is contained in:
+6
-13
@@ -580,19 +580,11 @@ require("packer").startup {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
sources = {
|
sources = {
|
||||||
{name = "nvim_lsp"}, {name = "buffer"}
|
{name = "nvim_lsp"},
|
||||||
-- { name = "path" },
|
{name = "buffer"},
|
||||||
-- { name = "nvim_lua" },
|
{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
|
end
|
||||||
}
|
}
|
||||||
@@ -781,7 +773,8 @@ require("packer").startup {
|
|||||||
analysis = {
|
analysis = {
|
||||||
diagnosticMode = "workspace",
|
diagnosticMode = "workspace",
|
||||||
logLevel = "Warning",
|
logLevel = "Warning",
|
||||||
typeCheckingMode = "basic"
|
typeCheckingMode = "basic",
|
||||||
|
autoImportCompletions = false,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user