vimrc: set ALE omnifunc, allow autoimport

This commit is contained in:
surtur 2022-10-30 04:16:11 +01:00
parent c3595f50fa
commit 056bcb26aa
Signed by: wanderer
SSH Key Fingerprint: SHA256:MdCZyJ2sHLltrLBp0xQO0O1qTW9BT/xl5nXkDvhlMCI

@ -220,6 +220,9 @@ let g:ale_warn_about_trailing_whitespace = 1
let g:ale_virtualtext_cursor = 1 let g:ale_virtualtext_cursor = 1
let g:ale_hover_to_floating_preview = 1 let g:ale_hover_to_floating_preview = 1
" let g:ale_completion_enabled = 1 " let g:ale_completion_enabled = 1
" for use with <c-x><c-o>
set omnifunc=ale#completion#OmniFunc
let g:ale_completion_autoimport = 1
let g:ale_hover_to_preview = 1 let g:ale_hover_to_preview = 1
let g:ale_lsp_suggestions = 1 let g:ale_lsp_suggestions = 1
let g:ale_terraform_langserver_executable = 'terraform-ls' let g:ale_terraform_langserver_executable = 'terraform-ls'