add latest neovim config

This commit is contained in:
natercio committed 2026-10-18 21:02:38 +01:00
commit a47941c870
17 files changed
+732

No files matched your search

@@ -0,0 +1,33 @@
return {
{
"neovim/nvim-lspconfig",
opts = {
servers = {
gopls = {
settings = {
gopls = {
experimentalWorkspaceModule = true,
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,
},
},
},
},
}