astro-nvim-v3 - change color line

This commit is contained in:
huyjaky
2025-01-06 12:17:40 +07:00
parent 9d867126d3
commit c0d55ff45e
9 changed files with 69 additions and 44 deletions

View File

@@ -18,10 +18,23 @@ return {
cmp.setup.filetype("python", {
sources = cmp.config.sources {
{ name = "nvim_lsp", priority = 700 },
{ name = "nvim_lsp", priority = 700},
{ name = "buffer", priority = 500 },
{ name = "path", priority = 250 },
},
sorting = {
comparators = {
cmp.config.compare.offset,
cmp.config.compare.exact,
cmp.config.compare.score,
cmp.config.compare.kind,
cmp.config.compare.sort_text,
cmp.config.compare.length,
cmp.config.compare.order,
},
priority_weight = 1000
},
})
return require("astrocore").extend_tbl(opts, {