diff options
author | w0rp <w0rp@users.noreply.github.com> | 2016-10-22 14:35:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-22 14:35:13 +0100 |
commit | 89d8f2a0bc541af8d6c5aa33b806846e4efedcd2 (patch) | |
tree | 0a3627a8bdc4863d0fff96f91cc75459fbba588c /ale_linters/go | |
parent | cd00a18c3a85080783c71abaeae87e4c599435e3 (diff) | |
parent | 99aebcafac22607273f06442b3613e11774d8444 (diff) | |
download | ale-89d8f2a0bc541af8d6c5aa33b806846e4efedcd2.zip |
Merge pull request #138 from neersighted/dotft
Add support for dot-seperate linters, improve linter tests
Diffstat (limited to 'ale_linters/go')
-rw-r--r-- | ale_linters/go/gofmt.vim | 7 | ||||
-rw-r--r-- | ale_linters/go/golint.vim | 6 | ||||
-rw-r--r-- | ale_linters/go/govet.vim | 7 |
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', \}) - |