diff --git a/lua/custom/plugins/configs/gonvim.lua b/lua/custom/plugins/configs/gonvim.lua index 6a96a8f..544404a 100644 --- a/lua/custom/plugins/configs/gonvim.lua +++ b/lua/custom/plugins/configs/gonvim.lua @@ -20,7 +20,9 @@ local config = { -- dap_debug_vt = false, log_path = vim.fn.stdpath('cache') .. '/gonvim.log', lsp_inlay_hints = { - enable = true, + enable = false, + -- only_current_line = true, + } } diff --git a/lua/spike/lsp/go.lua b/lua/spike/lsp/go.lua index ec82862..d968c7c 100644 --- a/lua/spike/lsp/go.lua +++ b/lua/spike/lsp/go.lua @@ -17,6 +17,9 @@ function M.gopls_onattach(client, bufnr) end + -- vim.lsp.inlay_hint(bufnr, true) + + -- Auto import on save -- autocmd({"BufWritePre", "InsertLeave"}, { -- autocmd({"BufWritePre"}, {