Enable vint for vim

This commit is contained in:
Julian Ospald 2020-01-30 01:02:30 +01:00
parent 0eea46beae
commit 08d59860f5
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28
2 changed files with 3 additions and 1 deletions

2
after/ftplugin/vim.vim Normal file
View File

@ -0,0 +1,2 @@
let g:ale_linters = {'vim':['vint']}

2
vimrc
View File

@ -84,7 +84,7 @@ Plug 'autozimu/LanguageClient-neovim', {
" linting/compilation " linting/compilation
Plug 'w0rp/ale', { Plug 'w0rp/ale', {
\ 'do': 'bash -c \"cp -R ~/.vim/ale_linters .\"', \ 'do': 'bash -c \"cp -R ~/.vim/ale_linters .\"',
\ 'for': 'sh', \ 'for': ['sh', 'vim'],
\ } \ }
" haskell " haskell