aboutsummaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2018-10-01 11:31:22 +0200
committerKarel Kočí <karel.koci@nic.cz>2018-10-01 11:31:22 +0200
commit6d6c04a71eff7bb7808dfd71d6d8d4b8b547dccf (patch)
tree9cc1cd56d3d92997c6959c404bd20e2811b6e7a7 /vimrc
parent8d1fe86ad4f4aa7b6169844c407ebf44ea367e68 (diff)
downloadmyconfigs-6d6c04a71eff7bb7808dfd71d6d8d4b8b547dccf.tar.gz
myconfigs-6d6c04a71eff7bb7808dfd71d6d8d4b8b547dccf.tar.bz2
myconfigs-6d6c04a71eff7bb7808dfd71d6d8d4b8b547dccf.zip
vim: configure completion using ale
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc8
1 files changed, 2 insertions, 6 deletions
diff --git a/vimrc b/vimrc
index 544e18d..3deb955 100644
--- a/vimrc
+++ b/vimrc
@@ -152,12 +152,8 @@ let g:UltiSnipsJumpForwardTrigger="<c-j>"
let g:UltiSnipsJumpBackwardTrigger="<c-k>"
" Ale
-let g:ale_lint_on_text_changed = 'never'
-let g:ale_linters = {'c': ['cppcheck', 'gcc']}
-let g:ale_fixers = {
-\ 'c': ['remove_trailing_lines', 'trim_whitespace'],
-\ 'python': ['autopep8', 'isort', 'add_blank_lines_for_python_control_statements', 'remove_trailing_lines', 'trim_whitespace'],
-\}
+let g:ale_completion_enabled = 1
+let g:ale_set_highlights = 0
" YouCompleteMe
let g:ycm_autoclose_preview_window_after_completion = 1