From 056bcb26aa454de1c61cd78295403bfd1b356728 Mon Sep 17 00:00:00 2001 From: surtur Date: Sun, 30 Oct 2022 04:16:11 +0100 Subject: [PATCH] vimrc: set ALE omnifunc, allow autoimport --- .vim/vimrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.vim/vimrc b/.vim/vimrc index 19787ab..fdcce13 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -220,6 +220,9 @@ let g:ale_warn_about_trailing_whitespace = 1 let g:ale_virtualtext_cursor = 1 let g:ale_hover_to_floating_preview = 1 " let g:ale_completion_enabled = 1 +" for use with +set omnifunc=ale#completion#OmniFunc +let g:ale_completion_autoimport = 1 let g:ale_hover_to_preview = 1 let g:ale_lsp_suggestions = 1 let g:ale_terraform_langserver_executable = 'terraform-ls'