Skip to content

Commit 0964bb9

Browse files
committed
Improve nvim completions
1 parent a035dc4 commit 0964bb9

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

nvim/.nvim/lua/plugins/completion.lua

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,13 @@ return {
1414
ghost_text = { enabled = false },
1515
},
1616
sources = {
17-
default = { "lsp", "path", "snippets" },
17+
-- default = { "lsp", "path", "snippets" },
18+
providers = {
19+
lsp = { fallbacks = {}, score_offset = 2 },
20+
path = { fallbacks = {}, score_offset = 1 },
21+
snippets = { fallbacks = {} },
22+
buffer = { fallbacks = {}, enabled = false },
23+
},
1824
},
1925
},
2026
}

0 commit comments

Comments
 (0)