chore: switch back to manual trigger lsp completion
This commit is contained in:
1 file changed
-2
@@ -31,7 +31,6 @@ vim.o.virtualedit = 'block' -- Allow cursor past end of line in visual block
|
|||||||
vim.o.spelloptions = 'camel' -- Spell-check camelCase words per part
|
vim.o.spelloptions = 'camel' -- Spell-check camelCase words per part
|
||||||
|
|
||||||
-- Completion
|
-- Completion
|
||||||
vim.o.autocomplete = true -- Show completion popup while typing
|
|
||||||
vim.o.complete = '.,w,b,kspell' -- Complete from buffer, windows, buffers, spell
|
vim.o.complete = '.,w,b,kspell' -- Complete from buffer, windows, buffers, spell
|
||||||
vim.o.completeopt = 'menuone,noselect,fuzzy,popup' -- Show menu for one match, don't preselect, fuzzy match, description popup
|
vim.o.completeopt = 'menuone,noselect,fuzzy,popup' -- Show menu for one match, don't preselect, fuzzy match, description popup
|
||||||
vim.o.pumheight = 10 -- Max items visible in completion popup
|
vim.o.pumheight = 10 -- Max items visible in completion popup
|
||||||
@@ -40,7 +39,6 @@ vim.o.pummaxwidth = 120 -- Max width of completion p
|
|||||||
-- Autocommands
|
-- Autocommands
|
||||||
Config.autocmd('TextYankPost', '*', function() vim.hl.hl_op() end, 'Highlight yanked text')
|
Config.autocmd('TextYankPost', '*', function() vim.hl.hl_op() end, 'Highlight yanked text')
|
||||||
Config.autocmd('TermOpen', '*', function() vim.cmd('startinsert') end, 'Start insert mode when terminal opens')
|
Config.autocmd('TermOpen', '*', function() vim.cmd('startinsert') end, 'Start insert mode when terminal opens')
|
||||||
Config.autocmd('LspAttach', '*', function(ev) vim.bo[ev.buf].complete = 'o' end, 'Use lsp completions')
|
|
||||||
|
|
||||||
-- Diagnostics
|
-- Diagnostics
|
||||||
Config.later(function()
|
Config.later(function()
|
||||||
|
|||||||
Reference in new issue
Block a user