diff options
| author | Ahmed Abdelhalim <[email protected]> | 2023-09-11 09:41:19 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2023-09-11 09:41:19 +0200 |
| commit | d3d5d5c0cca3f7439e1f3df16281e391fdc999f4 (patch) | |
| tree | eb8fa3513847ae50859cde28c527ff8a99b87aac /.vimrc | |
| parent | d0784ab3d1478f207d718f08c16abd7e5ff3044e (diff) | |
Configure go and ale
Diffstat (limited to '.vimrc')
| -rw-r--r-- | .vimrc | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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 |
