From bcc926c760ddc999236d98e0bd265b00ca4dd12d Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Thu, 21 Sep 2023 22:12:57 +0200 Subject: Fix golang configurations for linting and ALE --- .vimrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.vimrc b/.vimrc index 6c1d8da..85f8e92 100644 --- a/.vimrc +++ b/.vimrc @@ -172,6 +172,10 @@ 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 +" let g:ale_completion_max_suggestions = -1 " Increase suggestions +let g:ale_linters = { + \ 'go': ['gopls'], + \} "Deoplete (Auto complete) "======================== -- cgit v1.2.3