Skip to content

Commit ab42b08

Browse files
clangd
1 parent 5360cec commit ab42b08

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lua/modules/completion/cmp.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ cmp.setup({
108108
return true
109109
end
110110
end,
111-
111+
require("clangd_extensions.cmp_scores"),
112112
cmp.config.compare.kind,
113113
cmp.config.compare.sort_text,
114114
cmp.config.compare.length,
@@ -151,11 +151,11 @@ cmp.setup({
151151
},
152152
sources = cmp.config.sources({
153153
-- { name = "copilot", group_index = 2 },
154-
{ name = "nvim_lsp", priority = "9" },
154+
{ name = "nvim_lsp", priority = "9" },
155155
{ name = "nvim_lsp_signature_help", priority = "7" },
156-
{ name = "luasnip", priority = "8" },
157-
{ name = "buffer", keyword_length = 5 },
158-
{ name = "npm", keyword_length = 2 },
156+
{ name = "luasnip", priority = "8" },
157+
{ name = "buffer", keyword_length = 5 },
158+
{ name = "npm", keyword_length = 2 },
159159
{ name = "neorg" },
160160
{ name = "path" },
161161
{ name = "git" },

0 commit comments

Comments
 (0)