Skip to content

Commit

Permalink
config(nvim): remove inlay hint
Browse files Browse the repository at this point in the history
  • Loading branch information
haunt98 committed Jul 19, 2024
1 parent 2a6af20 commit dc15b9b
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions data/nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,6 @@ require("lazy").setup({
-- Go
-- https://github.com/golang/tools/blob/master/gopls/doc/vim.md
-- https://github.com/golang/tools/blob/master/gopls/doc/settings.md
-- https://github.com/golang/tools/blob/master/gopls/doc/inlayHints.md
-- https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#gopls
-- https://github.com/neovim/nvim-lspconfig/issues/2542
lspconfig.gopls.setup({
Expand All @@ -555,17 +554,6 @@ require("lazy").setup({
client.server_capabilities.semanticTokensProvider = nil
end
end,
on_attach = function(client, bufnr)
vim.lsp.inlay_hint.enable(true, { bufnr = bufnr })
end,
settings = {
gopls = {
hints = {
constantValues = true,
parameterNames = true,
},
},
},
})

-- Python
Expand Down

0 comments on commit dc15b9b

Please sign in to comment.