Adds new plugin, ALE.
This commit is contained in:
parent
cb777a3463
commit
9b0440f958
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -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
14
.vimrc
@ -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
1
bundle/ale
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 19437e25d05950ab83dce285b4b8ec5166e06dba
|
Loading…
Reference in New Issue
Block a user