summaryrefslogtreecommitdiff
path: root/ale_linters/go
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-04-24 22:27:18 +0100
committerw0rp <devw0rp@gmail.com>2017-04-24 22:27:18 +0100
commita03121f5b051ed1f146a8979ea5d2bb26fe05bff (patch)
treedefbf1cd9c45af97667ec7ff47733a6cceca4207 /ale_linters/go
parentb4c0335ebceb5ba360a71dd3d0f10ec1d5807a83 (diff)
downloadale-a03121f5b051ed1f146a8979ea5d2bb26fe05bff.zip
Break shared handlers up into their own files, and fix stylelint error handling
Diffstat (limited to 'ale_linters/go')
-rw-r--r--ale_linters/go/gofmt.vim2
-rw-r--r--ale_linters/go/golint.vim2
-rw-r--r--ale_linters/go/gosimple.vim2
-rw-r--r--ale_linters/go/govet.vim2
-rw-r--r--ale_linters/go/staticcheck.vim2
5 files changed, 5 insertions, 5 deletions
diff --git a/ale_linters/go/gofmt.vim b/ale_linters/go/gofmt.vim
index b38e4e98..337deef8 100644
--- a/ale_linters/go/gofmt.vim
+++ b/ale_linters/go/gofmt.vim
@@ -6,5 +6,5 @@ call ale#linter#Define('go', {
\ 'output_stream': 'stderr',
\ 'executable': 'gofmt',
\ 'command': 'gofmt -e %t',
-\ 'callback': 'ale#handlers#HandleUnixFormatAsError',
+\ 'callback': 'ale#handlers#unix#HandleAsError',
\})
diff --git a/ale_linters/go/golint.vim b/ale_linters/go/golint.vim
index 8fe5b69b..cc807fe6 100644
--- a/ale_linters/go/golint.vim
+++ b/ale_linters/go/golint.vim
@@ -5,5 +5,5 @@ call ale#linter#Define('go', {
\ 'name': 'golint',
\ 'executable': 'golint',
\ 'command': 'golint %t',
-\ 'callback': 'ale#handlers#HandleUnixFormatAsWarning',
+\ 'callback': 'ale#handlers#unix#HandleAsWarning',
\})
diff --git a/ale_linters/go/gosimple.vim b/ale_linters/go/gosimple.vim
index 09ea40b8..4b7d340b 100644
--- a/ale_linters/go/gosimple.vim
+++ b/ale_linters/go/gosimple.vim
@@ -5,5 +5,5 @@ call ale#linter#Define('go', {
\ 'name': 'gosimple',
\ 'executable': 'gosimple',
\ 'command': 'gosimple %t',
-\ 'callback': 'ale#handlers#HandleUnixFormatAsWarning',
+\ 'callback': 'ale#handlers#unix#HandleAsWarning',
\})
diff --git a/ale_linters/go/govet.vim b/ale_linters/go/govet.vim
index e605a299..f5bb47a3 100644
--- a/ale_linters/go/govet.vim
+++ b/ale_linters/go/govet.vim
@@ -6,5 +6,5 @@ call ale#linter#Define('go', {
\ 'output_stream': 'stderr',
\ 'executable': 'go',
\ 'command': 'go vet %t',
-\ 'callback': 'ale#handlers#HandleUnixFormatAsError',
+\ 'callback': 'ale#handlers#unix#HandleAsError',
\})
diff --git a/ale_linters/go/staticcheck.vim b/ale_linters/go/staticcheck.vim
index 711e2ce2..c78b3209 100644
--- a/ale_linters/go/staticcheck.vim
+++ b/ale_linters/go/staticcheck.vim
@@ -5,5 +5,5 @@ call ale#linter#Define('go', {
\ 'name': 'staticcheck',
\ 'executable': 'staticcheck',
\ 'command': 'staticcheck %t',
-\ 'callback': 'ale#handlers#HandleUnixFormatAsWarning',
+\ 'callback': 'ale#handlers#unix#HandleAsWarning',
\})