summaryrefslogtreecommitdiff
path: root/ale_linters/go
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/go')
-rw-r--r--ale_linters/go/gofmt.vim7
-rw-r--r--ale_linters/go/golint.vim6
-rw-r--r--ale_linters/go/govet.vim7
3 files changed, 0 insertions, 20 deletions
diff --git a/ale_linters/go/gofmt.vim b/ale_linters/go/gofmt.vim
index 83c4d811..50d25086 100644
--- a/ale_linters/go/gofmt.vim
+++ b/ale_linters/go/gofmt.vim
@@ -1,12 +1,6 @@
" Author: neersighted <bjorn@neersighted.com>
" Description: gofmt for Go files
-if exists('g:loaded_ale_linters_go_gofmt')
- finish
-endif
-
-let g:loaded_ale_linters_go_gofmt = 1
-
call ale#linter#Define('go', {
\ 'name': 'gofmt',
\ 'output_stream': 'stderr',
@@ -14,4 +8,3 @@ call ale#linter#Define('go', {
\ 'command': g:ale#util#stdin_wrapper . ' .go gofmt -e',
\ 'callback': 'ale#handlers#HandleUnixFormatAsError',
\})
-
diff --git a/ale_linters/go/golint.vim b/ale_linters/go/golint.vim
index 25787e0e..5329e334 100644
--- a/ale_linters/go/golint.vim
+++ b/ale_linters/go/golint.vim
@@ -1,12 +1,6 @@
" Author: neersighted <bjorn@neersighted.com>
" Description: golint for Go files
-if exists('g:loaded_ale_linters_go_golint')
- finish
-endif
-
-let g:loaded_ale_linters_go_golint = 1
-
call ale#linter#Define('go', {
\ 'name': 'golint',
\ 'executable': 'golint',
diff --git a/ale_linters/go/govet.vim b/ale_linters/go/govet.vim
index 9db39ead..6153caa8 100644
--- a/ale_linters/go/govet.vim
+++ b/ale_linters/go/govet.vim
@@ -1,12 +1,6 @@
" Author: neersighted <bjorn@neersighted.com>
" Description: go vet for Go files
-if exists('g:loaded_ale_linters_go_govet')
- finish
-endif
-
-let g:loaded_ale_linters_go_govet = 1
-
call ale#linter#Define('go', {
\ 'name': 'go vet',
\ 'output_stream': 'stderr',
@@ -14,4 +8,3 @@ call ale#linter#Define('go', {
\ 'command': g:ale#util#stdin_wrapper . ' .go go vet',
\ 'callback': 'ale#handlers#HandleUnixFormatAsError',
\})
-