Adds new plugin, ALE.

This commit is contained in:
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

Submodule bundle/ale added at 19437e25d0