diff --git a/lua/plugins.lua b/lua/plugins.lua index eb6b23f..dd999d9 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -76,7 +76,6 @@ return { vim.g.go_highlight_operators = 1 vim.g.go_highlight_extra_types = 1 vim.g.go_highlight_build_constraints = 1 - vim.g.go_auto_type_info = 1 vim.g.go_metalinter_command = 'golangci-lint' end }, @@ -265,12 +264,12 @@ return { documentation = cmp.config.window.bordered(), }, mapping = cmp.mapping.preset.insert({ - [''] = cmp.mapping.scroll_docs(-4), - [''] = cmp.mapping.scroll_docs(4), - [''] = cmp.mapping.complete(), - [''] = cmp.mapping.abort(), - [''] = cmp.mapping.confirm({ select = false }), - [""] = cmp.mapping(function(fallback) + [''] = cmp.mapping.scroll_docs(-4), + [''] = cmp.mapping.scroll_docs(4), + [''] = cmp.mapping.complete(), + [''] = cmp.mapping.abort(), + [''] = cmp.mapping.confirm({ select = false }), + [""] = cmp.mapping(function(fallback) if cmp.visible() then cmp.select_next_item() -- You could replace the expand_or_jumpable() calls with expand_or_locally_jumpable() @@ -283,7 +282,7 @@ return { fallback() end end, { "i", "s" }), - [""] = cmp.mapping(function(fallback) + [""] = cmp.mapping(function(fallback) if cmp.visible() then cmp.select_prev_item() elseif luasnip.jumpable(-1) then