Adds new plugin, ALE.

This commit is contained in:
falsycat 2021-09-15 15:33:05 +09:00
parent cb777a3463
commit 9b0440f958
3 changed files with 18 additions and 0 deletions

3
.gitmodules vendored
View File

@ -22,3 +22,6 @@
[submodule "bundle/tagbar"]
path = bundle/tagbar
url = https://github.com/preservim/tagbar
[submodule "bundle/ale"]
path = bundle/ale
url = https://github.com/dense-analysis/ale

14
.vimrc
View File

@ -83,3 +83,17 @@ execute pathogen#infect()
" ---- plugin: onedark.vim ----
"
colorscheme onedark
"
" ---- plugin: ale ----
"
let g:ale_lint_on_text_changed = 0
let g:ale_sign_error = 'E'
let g:ale_sign_warning = 'W'
let g:ale_echo_msg_format = '[%linter%]%code: %%s'
let g:ale_linters = { 'cpp': ['cppcheck', 'cpplint'] }
nmap <silent> <C-k> <Plug>(ale_previous_wrap)
nmap <silent> <C-j> <Plug>(ale_next_wrap)

1
bundle/ale Submodule

@ -0,0 +1 @@
Subproject commit 19437e25d05950ab83dce285b4b8ec5166e06dba