summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorBrahmajit Das <listout@listout.xyz>2026-01-13 15:35:19 +0000
committerBrahmajit Das <listout@listout.xyz>2026-01-13 15:35:19 +0000
commit6324ee1804d03e5607fbcbd54dc20d3fcb18a6aa (patch)
treeb9fa43f3723f8cd7ac1819831ada9dc46be521d0 /lua
parent07ee7128266cec40bea112a2a371d856fd8b6941 (diff)
downloadnvim-6324ee1804d03e5607fbcbd54dc20d3fcb18a6aa.tar.gz
lua: plugins: completions: reorder completion sources for better completion
Signed-off-by: Brahmajit Das <listout@listout.xyz>
Diffstat (limited to 'lua')
-rw-r--r--lua/plugins/completion.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/lua/plugins/completion.lua b/lua/plugins/completion.lua
index 1f41bc4..3a29c97 100644
--- a/lua/plugins/completion.lua
+++ b/lua/plugins/completion.lua
@@ -77,6 +77,8 @@ return {
}),
sources = cmp.config.sources({
{ name = 'nvim_lsp' },
+ { name = 'vimtex' },
+ { name = 'nvim_lsp_signature_help' },
{
name = 'luasnip',
option =
@@ -85,11 +87,9 @@ return {
show_autosnippets = true,
}
},
- { name = 'nvim_lsp_signature_help' },
- { name = 'path' },
{ name = 'buffer' },
+ { name = 'path' },
{ name = 'nvim_lua' },
- { name = 'vimtex' },
}),
}