Files
natercio 881a5dadff neovim: fix a bunch of small issues
- snack explorer now opens on the neovim is open at instead of the go
module
- remove obsolete linting stuff
2026-10-27 10:01:02 +00:00

33 lines
853 B
Lua

return {
{
"neovim/nvim-lspconfig",
opts = {
servers = {
gopls = {
settings = {
gopls = {
hints = {
assignVariableTypes = false,
-- compositeLiteralFields = false,
-- compositeLiteralTypes = false,
-- constantValues = false,
functionTypeParameters = false,
-- parameterNames = false,
rangeVariableTypes = false,
},
},
},
},
buf_ls = {
on_attach = function(client, bufnr)
-- Disable formatting capability
client.server_capabilities.documentFormattingProvider = false
client.server_capabilities.documentRangeFormattingProvider = false
end,
},
},
},
},
}