mirror of
https://github.com/pnx/dotfiles
synced 2026-06-16 03:14:55 +02:00
nvim/lua/user/plugins/editor/autocomplete.lua: updated settings
This commit is contained in:
parent
f29bbc2184
commit
9d371f0de7
1 changed files with 2 additions and 1 deletions
|
|
@ -50,11 +50,12 @@ return {
|
|||
if success and node and vim.tbl_contains({ 'comment', 'line_comment', 'block_comment' }, node:type()) then
|
||||
return { 'buffer' }
|
||||
else
|
||||
return { 'lsp', 'path', 'luasnip', 'buffer' }
|
||||
return { 'lsp', 'path', 'snippets', 'buffer' }
|
||||
end
|
||||
end
|
||||
},
|
||||
snippets = {
|
||||
preset = 'luasnip',
|
||||
expand = function(snippet) require('luasnip').lsp_expand(snippet) end,
|
||||
active = function(filter)
|
||||
if filter and filter.direction then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue