Skip to content

Commit 1cec531

Browse files
committed
nvim: initialize the golangci lint language server with outputs
1 parent a94d086 commit 1cec531

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ versioning is done in a continuous fashion without worries of breaking changes.
66

77
## patches
88

9+
- `nvim`: initialize the golangci lint language server with outputs 2025-03-29
910
- `systemd`: remake the production ollama model for chatbots online 2025-03-23
1011
- `systemd`: remove packages from path that are used for exec start 2025-03-23
1112
- `systemd`: pull latest changes of sandbox applications on updates 2025-03-22

programs/neovim/config/after/plugin/lsp.lua

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,16 @@ lspconfig.eslint.setup({
7272
lspconfig.golangci_lint_ls.setup({
7373
capabilities = capabilities,
7474
on_attach = on_attach,
75+
init_options = {
76+
command = {
77+
"golangci-lint",
78+
"run",
79+
"--output.json.path",
80+
"stdout",
81+
"--show-stats=false",
82+
"--issues-exit-code=1",
83+
},
84+
},
7585
})
7686

7787
lspconfig.gopls.setup({

0 commit comments

Comments
 (0)