fixed mcs

This commit is contained in:
tonybanters 2026-02-04 00:16:17 -08:00
commit 2bcf6d9ba9
2 changed files with 19 additions and 0 deletions

12
after/ftplugin/hare.lua Normal file
View file

@ -0,0 +1,12 @@
local set = vim.opt_local
vim.bo.commentstring = "// %s"
vim.bo.comments = "s:/*,m: *,ex:*/,://"
set.shiftwidth = 4
set.tabstop = 4
set.softtabstop = 4
set.expandtab = true
set.number = true
set.relativenumber = true

View file

@ -245,6 +245,13 @@ vim.lsp.config['gopls'] = {
root_markers = { 'go.mod', 'go.work', '.git' },
capabilities = caps,
settings = {
gopls = {
analyses = {
ST1003 = false,
unusedparams = true,
},
staticcheck = true,
},
},
}