fix go.nvim and gopls
This commit is contained in:
parent
7d1bacbbbb
commit
6d823d928c
3 changed files with 13 additions and 33 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue