vim: add go linter/fixer

feature/symbol-search
bretello 2020-04-07 00:53:37 +02:00
parent de5d903f00
commit 4472ada1b2
1 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,7 @@ let g:ale_fixers = {
\ 'css': ['prettier'],
\ 'markdown': ['prettier'],
\ 'python': ['black', 'reorder-python-imports'],
\ 'go': ['gofmt', 'goimports'],
\ 'rust': ['rustfmt'],
\ "javascript": ["prettier", "eslint"],
\ "vue": ["prettier", "eslint"]
@ -32,6 +33,7 @@ let g:ale_linter_aliases = {'vue': ['vue', 'javascript']}
let g:ale_linters = {
\ 'python': ['pyls', 'pylint', 'mypy', 'bandit'],
\ 'bash': ['bashlint', "shellcheck"],
\ 'go': ['golint'],
\ 'rust': ['rustc'],
\ 'yaml': ['yamllint'],
\ 'javascript': ["yarn lint", "eslint", "vls"],