From 4279a5aa27adf603260e5c2b767e6bc16399107f Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Tue, 6 Jan 2026 05:43:50 +0100 Subject: Adde ALE back to the vimrc --- .vimrc | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.vimrc b/.vimrc index 6b8fc8e..a4beb55 100644 --- a/.vimrc +++ b/.vimrc @@ -5,6 +5,7 @@ call plug#begin() Plug 'tpope/vim-commentary' Plug 'mitjafelicijan/sniper.vim' Plug 'ctrlpvim/ctrlp.vim' + Plug 'dense-analysis/ale' call plug#end() set encoding=utf8 spelllang=en_us laststatus=2 tabstop=4 shiftwidth=4 @@ -21,6 +22,18 @@ nnoremap :CtrlPBuffer nnoremap q :nohlsearch nnoremap c :silent call system('ctags --c++-kinds=+p -R .') nnoremap w :vimgrep //gj **/*:copen +nnoremap :ALEHover +nnoremap :ALEDetail + +nmap gr :ALEFindReferences +nmap gd :ALEGoToDefinition +nmap re :ALERename let g:ctrlp_use_caching = 0 let g:ctrlp_working_path_mode = '' + +let g:ale_hover_to_floating_preview = 1 +let g:ale_detail_to_floating_preview = 1 +let g:ale_floating_window_border = 0 +let g:ale_virtualtext_cursor = 0 +let g:ale_set_quickfix = 1 -- cgit v1.2.3