aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-03-27 18:48:46 +0800
committerGuangxiong Lin <[email protected]>2022-03-27 18:48:46 +0800
commit983e2363a874b40336d0b42533ff992e7c6c7e58 (patch)
tree1cc3c69781a468b58260e7a0c06c645ab2947062
parent7e0ad0cf4d9d6bed44f581fd9a6e48c699477d0c (diff)
downloaddotfiles-983e2363a874b40336d0b42533ff992e7c6c7e58.tar.gz
dotfiles-983e2363a874b40336d0b42533ff992e7c6c7e58.tar.bz2
dotfiles-983e2363a874b40336d0b42533ff992e7c6c7e58.zip
Disable auto hover (vim)
-rw-r--r--.vim/after/plugin/ale.vim1
-rw-r--r--.vim/after/plugin/youcompleteme.vim2
2 files changed, 2 insertions, 1 deletions
diff --git a/.vim/after/plugin/ale.vim b/.vim/after/plugin/ale.vim
index f8c210e..9a61ab0 100644
--- a/.vim/after/plugin/ale.vim
+++ b/.vim/after/plugin/ale.vim
@@ -9,6 +9,7 @@ let g:ale_lint_on_text_changed = 'normal'
let g:ale_lint_on_insert_leave = 1
let g:ale_sign_error = 'E>'
let g:ale_sign_warning = 'W>'
+let g:ale_hover_cursor = 0
let g:ale_c_gcc_options = '-Wall -O2 -std=c99'
let g:ale_cpp_gcc_options = '-Wall -O2 -std=c++14'
diff --git a/.vim/after/plugin/youcompleteme.vim b/.vim/after/plugin/youcompleteme.vim
index 536ab9c..6f7a266 100644
--- a/.vim/after/plugin/youcompleteme.vim
+++ b/.vim/after/plugin/youcompleteme.vim
@@ -2,7 +2,7 @@ let g:ycm_server_log_level = 'info'
let g:ycm_add_preview_to_completeopt = 'popup'
let g:ycm_collect_identifiers_from_comments_and_strings = 1
let g:ycm_complete_in_strings = 1
-let g:ycm_auto_hover = 0
+let g:ycm_auto_hover = ''
let g:ycm_auto_trigger = 1
let g:ycm_show_diagnostics_ui = 0