fix go.nvim and gopls

This commit is contained in:
Noah Håkansson 2024-01-31 09:40:01 +01:00
parent 7d1bacbbbb
commit 6d823d928c
3 changed files with 13 additions and 33 deletions

View file

@ -11,7 +11,15 @@ local M = {
function M.config()
-- setup your go.nvim
require('go').setup({})
require('go').setup({
lsp_keymaps = false, -- disable the lsp keymaps defined by go.nvim. It's true by default
lsp_inlay_hints = {
enable = true,
-- hint style, set to 'eol' for end-of-line hints, 'inlay' for inline hints
-- inlay only avalible for 0.10.x
style = 'eol',
},
})
end
return M