diff --git a/after/ftplugin/hare.lua b/after/ftplugin/hare.lua new file mode 100644 index 0000000..539428b --- /dev/null +++ b/after/ftplugin/hare.lua @@ -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 diff --git a/plugin/lsp.lua b/plugin/lsp.lua index 8bbc49e..7d7f177 100644 --- a/plugin/lsp.lua +++ b/plugin/lsp.lua @@ -247,6 +247,7 @@ vim.lsp.config['gopls'] = { settings = { gopls = { analyses = { + ST1003 = false, unusedparams = true, }, staticcheck = true,