Skip to content

Commit 500adad

Browse files
committed
Add go config
1 parent 6db89ad commit 500adad

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

lua/core/setup/language-servers.lua

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
local servers = {
22
-- clangd = {},
3-
-- gopls = {},
3+
gopls = {
4+
go = {
5+
analyses = {
6+
unusedparams = true,
7+
},
8+
usePlaceholders = true,
9+
completeUnimported = true,
10+
staticcheck = true,
11+
gofumpt = true,
12+
},
13+
},
414
-- pyright = {},
515
-- rust_analyzer = {},
616
eslint = {},

0 commit comments

Comments
 (0)