Adds new plugin, ALE.
This commit is contained in:
3
.gitmodules
vendored
3
.gitmodules
vendored
@@ -22,3 +22,6 @@
|
|||||||
[submodule "bundle/tagbar"]
|
[submodule "bundle/tagbar"]
|
||||||
path = bundle/tagbar
|
path = bundle/tagbar
|
||||||
url = https://github.com/preservim/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 ----
|
" ---- plugin: onedark.vim ----
|
||||||
"
|
"
|
||||||
colorscheme onedark
|
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
Submodule bundle/ale added at 19437e25d0
Reference in New Issue
Block a user