|
|
@ -30,13 +30,16 @@ let g:ale_sign_warning = '‽'
|
|
|
|
let g:ale_echo_msg_format = '%s [%severity%] [%linter%]'
|
|
|
|
let g:ale_echo_msg_format = '%s [%severity%] [%linter%]'
|
|
|
|
let g:ale_set_loclist = 0
|
|
|
|
let g:ale_set_loclist = 0
|
|
|
|
let g:ale_set_quickfix = 1
|
|
|
|
let g:ale_set_quickfix = 1
|
|
|
|
|
|
|
|
"{{- if lookPath "golangci-lint" }}
|
|
|
|
|
|
|
|
let g:ale_go_golangci_lint_package = 1
|
|
|
|
|
|
|
|
"{{- end }}
|
|
|
|
|
|
|
|
|
|
|
|
augroup linters
|
|
|
|
augroup linters
|
|
|
|
autocmd!
|
|
|
|
autocmd!
|
|
|
|
autocmd FileType javascript let g:ale_linters['javascript'] = ['eslint']
|
|
|
|
autocmd FileType javascript let g:ale_linters['javascript'] = ['eslint']
|
|
|
|
"{{ if lookPath "golangci-lint" }}
|
|
|
|
"{{- if lookPath "golangci-lint" }}
|
|
|
|
autocmd FileType go let g:ale_linters['go'] = ['golangci-lint']
|
|
|
|
autocmd FileType go let g:ale_linters['go'] = ['golangci-lint']
|
|
|
|
"{{ end }}
|
|
|
|
"{{- end }}
|
|
|
|
augroup END
|
|
|
|
augroup END
|
|
|
|
"{{ end }}
|
|
|
|
"{{ end }}
|
|
|
|
|
|
|
|
|
|
|
|