chore: no virtual text, no autocomplete

This commit is contained in:
fiplox 2023-07-02 22:18:22 +02:00
parent 7e6818319e
commit 25b1ad327c
2 changed files with 8 additions and 7 deletions

View File

@ -32,12 +32,13 @@ end
end ]=] end ]=]
M.lsp_config = { M.lsp_config = {
virtual_text = { -- virtual_text = {
prefix = '', -- prefix = '●',
}, -- },
virtual_text = false,
signs = false, signs = false,
underline = true, underline = true,
update_in_insert = true, update_in_insert = false,
severity_sort = false, severity_sort = false,
float = { float = {
focusable = false, focusable = false,

View File

@ -28,8 +28,8 @@ return {
}, },
}, },
completion = { completion = {
autocomplete = { 'TextChanged', 'CmdlineChanged', 'TextChangedP' }, -- autocomplete = { 'TextChanged', 'CmdlineChanged', 'TextChangedP' },
-- autocomplete = false, autocomplete = false,
}, },
snippet = { snippet = {
expand = function(args) expand = function(args)
@ -94,8 +94,8 @@ return {
sources = { sources = {
{ name = 'nvim_lsp' }, { name = 'nvim_lsp' },
{ name = 'neorg' }, { name = 'neorg' },
{ name = 'snippy' },
{ name = 'path' }, { name = 'path' },
{ name = 'snippy' },
{ name = 'buffer' }, { name = 'buffer' },
}, },
} }