go.nvim disable inlay hint

master
blob42 8 months ago
parent b9b886dd90
commit 800fcc2809

@ -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,
}
}

@ -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"}, {

Loading…
Cancel
Save