From 08d59860f5144196762ef8cfedfb07c30f581d96 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Thu, 30 Jan 2020 01:02:30 +0100 Subject: [PATCH] Enable vint for vim --- after/ftplugin/vim.vim | 2 ++ vimrc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 after/ftplugin/vim.vim diff --git a/after/ftplugin/vim.vim b/after/ftplugin/vim.vim new file mode 100644 index 0000000..f63385c --- /dev/null +++ b/after/ftplugin/vim.vim @@ -0,0 +1,2 @@ +let g:ale_linters = {'vim':['vint']} + diff --git a/vimrc b/vimrc index 354933b..9689d9d 100644 --- a/vimrc +++ b/vimrc @@ -84,7 +84,7 @@ Plug 'autozimu/LanguageClient-neovim', { " linting/compilation Plug 'w0rp/ale', { \ 'do': 'bash -c \"cp -R ~/.vim/ale_linters .\"', - \ 'for': 'sh', + \ 'for': ['sh', 'vim'], \ } " haskell