diff --git a/.gitmodules b/.gitmodules index c3cd7db..0e2e208 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,9 @@ [submodule "abolish"] path = pack/5_dev/start/abolish url = https://github.com/tpope/vim-abolish.git +[submodule "ALE"] + path = pack/5_dev/opt/ale + url = https://github.com/dense-analysis/ale.git [submodule "asterisk"] path = pack/3_extra/start/asterisk url = https://github.com/haya14busa/vim-asterisk.git diff --git a/pack/5_dev/opt/ale b/pack/5_dev/opt/ale new file mode 160000 index 0000000..560e634 --- /dev/null +++ b/pack/5_dev/opt/ale @@ -0,0 +1 @@ +Subproject commit 560e6340ce10ce90fac587096fb147eea43e624d diff --git a/vimrc b/vimrc index 9ac1d20..b0da0de 100644 --- a/vimrc +++ b/vimrc @@ -602,6 +602,15 @@ autocmd FileType cpp setlocal comments^=:/// foldmethod=syntax foldlevel=0 " abolish-coercion " camelCase MixedCase _snake_case UPPERCASE -dash-case dot.case space Title +"" ALE {{{2 +"" +"" Optional: Asynchronous Lint Engine + +packadd! ale +let g:ale_linters = {'sh': ['shellcheck']} +let g:ale_linters_explicit=1 + + "" Commentary {{{2 ""