From 43f24f4c012687a7771e334d4e25ebe407a512bf Mon Sep 17 00:00:00 2001 From: Ben Reedy Date: Thu, 30 Mar 2017 11:42:16 +1000 Subject: Add support for gosimple and staticcheck --- ale_linters/go/staticcheck.vim | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 ale_linters/go/staticcheck.vim (limited to 'ale_linters/go/staticcheck.vim') diff --git a/ale_linters/go/staticcheck.vim b/ale_linters/go/staticcheck.vim new file mode 100644 index 00000000..711e2ce2 --- /dev/null +++ b/ale_linters/go/staticcheck.vim @@ -0,0 +1,9 @@ +" Author: Ben Reedy +" Description: staticcheck for Go files + +call ale#linter#Define('go', { +\ 'name': 'staticcheck', +\ 'executable': 'staticcheck', +\ 'command': 'staticcheck %t', +\ 'callback': 'ale#handlers#HandleUnixFormatAsWarning', +\}) -- cgit v1.2.3