From f07fe8fad0ff1da141909a15c158a29bd3e69cf3 Mon Sep 17 00:00:00 2001 From: ViViDboarder Date: Thu, 30 Sep 2021 10:59:48 -0700 Subject: [PATCH] nvim: update go linting with ale --- neovim/lua/plugins/ale.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/neovim/lua/plugins/ale.lua b/neovim/lua/plugins/ale.lua index c5f5c2d..21359fc 100644 --- a/neovim/lua/plugins/ale.lua +++ b/neovim/lua/plugins/ale.lua @@ -1,8 +1,9 @@ vim.g["airline#extensions#ale#enabled"] = 1 vim.g.ale_lint_on_enter = 0 +vim.g.ale_go_golangci_lint_package = 1 vim.g.ale_linters = { - -- go = {'gopls', 'golint', 'golangci-lint'}, - go = {"golangci-lint"}, + go = {'gopls', 'golint', 'golangci-lint'}, + -- go = {"golangci-lint"}, -- rust = {'rls', 'cargo'}, rust = {"cargo"}, -- sh = {'language_server', 'shell', 'shellcheck'},