From 2a32c8ba76d8d7e1f6e617849153113dd447fdf3 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Mon, 4 Apr 2022 21:07:00 +0800 Subject: Load ale after config is loaded (vim) Some config should be set before ale is loaded. --- .vim/after/plugin/ale.vim | 2 ++ .vim/after/plugin/minpac.vim | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.vim/after/plugin/ale.vim b/.vim/after/plugin/ale.vim index 9a61ab0..87d0c96 100644 --- a/.vim/after/plugin/ale.vim +++ b/.vim/after/plugin/ale.vim @@ -25,3 +25,5 @@ let g:airline#extensions#ale#enabled = 1 nmap [g (ale_previous_wrap) nmap ]g (ale_next_wrap) + +packadd ale diff --git a/.vim/after/plugin/minpac.vim b/.vim/after/plugin/minpac.vim index b07374a..50d839c 100644 --- a/.vim/after/plugin/minpac.vim +++ b/.vim/after/plugin/minpac.vim @@ -17,7 +17,7 @@ function! InitMinpac() abort call minpac#add('https://github.com/ycm-core/YouCompleteMe', \ {'do': function('s:build_ycm')}) - call minpac#add('https://github.com/dense-analysis/ale.git') + call minpac#add('https://github.com/dense-analysis/ale.git', {'type': 'opt'}) call minpac#add('https://github.com/SirVer/ultisnips.git', {'type': 'opt'}) call minpac#add('https://github.com/honza/vim-snippets') -- cgit v1.2.3