From d3d5d5c0cca3f7439e1f3df16281e391fdc999f4 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Mon, 11 Sep 2023 09:41:19 +0200 Subject: Configure go and ale --- .vimrc | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to '.vimrc') diff --git a/.vimrc b/.vimrc index beff545..6c1d8da 100644 --- a/.vimrc +++ b/.vimrc @@ -24,6 +24,7 @@ Plug 'sheerun/vim-polyglot' Plug 'hashivim/vim-terraform' Plug 'juliosueiras/vim-terraform-completion' Plug 'https://bitbucket.org/sw-samuraj/vim-gradle' +Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' } " Snippets Plug 'SirVer/ultisnips' @@ -163,6 +164,15 @@ autocmd FileType ruby setlocal nospell " disable spell ch """""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " => Plugin maps """""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +"Ale +"=== +set completeopt=menu,menuone,popup,noselect,noinsert " show documentation in popups +let g:ale_floating_preview = 1 " use popupwin feature instead of virtual text +let g:ale_virtualtext_single = 0 " show one error at a time in the virutal text +let g:ale_virtualtext_cursor = 0 " disable virtual text +let g:ale_echo_cursor = 1 " echo the (error/warning) message to the hover section +let g:ale_cursor_detail = 1 " preview window will open automatically on cursor + "Deoplete (Auto complete) "======================== let g:deoplete#enable_at_startup = 1 -- cgit v1.2.3