mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
feat(nvim): add language servers for Golang
This commit is contained in:
@@ -20,6 +20,8 @@ local servers = {
|
||||
"cssmodules_ls",
|
||||
"diagnosticls",
|
||||
"emmet_ls",
|
||||
"golangci_lint_ls",
|
||||
"gopls",
|
||||
"graphql",
|
||||
"html",
|
||||
"jsonls",
|
||||
|
||||
@@ -24,6 +24,7 @@ null_ls.setup({
|
||||
diagnostics.eslint_d,
|
||||
diagnostics.flake8, -- Python
|
||||
diagnostics.gitlint,
|
||||
diagnostics.golangci_lint,
|
||||
diagnostics.markdownlint.with({ extra_args = { "--rules ~MD033" } }),
|
||||
diagnostics.stylelint,
|
||||
diagnostics.tsc,
|
||||
@@ -32,6 +33,9 @@ null_ls.setup({
|
||||
formatting.autopep8, -- Python
|
||||
formatting.black.with({ extra_args = { "--fast" } }), -- Python
|
||||
formatting.eslint_d,
|
||||
formatting.gofmt,
|
||||
formatting.goimports,
|
||||
formatting.goimports_reviser,
|
||||
formatting.markdownlint,
|
||||
formatting.prettierd,
|
||||
formatting.stylelint,
|
||||
|
||||
Reference in New Issue
Block a user