mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-12-22 23:31:32 +01:00
vim: add go linter/fixer
This commit is contained in:
parent
de5d903f00
commit
4472ada1b2
|
@ -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"],
|
||||
|
|
Loading…
Reference in New Issue
Block a user