From 0f4cf4ecb2f27b96c41a96b07f7e3820b903db7d Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Mon, 26 Aug 2019 08:40:24 +0200 Subject: vim: Enable vim-ale completion Signed-off-by: Florian Pritz --- .vimrc | 2 ++ 1 file changed, 2 insertions(+) (limited to '.vimrc') diff --git a/.vimrc b/.vimrc index c761737..285f870 100644 --- a/.vimrc +++ b/.vimrc @@ -70,6 +70,7 @@ let g:tagbar_phpctags_memory_limit = '512M' let g:ale_lint_delay = 2000 " }}} +let g:ale_completion_enabled = 1 filetype off set runtimepath+=/usr/share/vim @@ -344,6 +345,7 @@ nnoremap b :Unite -buffer-name=buffer buffer let g:neoyank#file = $HOME.'/.vim/yankring.txt' " completion +set omnifunc=ale#completion#OmniFunc autocmd FileType css setlocal omnifunc=csscomplete#CompleteCSS autocmd FileType html,markdown setlocal omnifunc=htmlcomplete#CompleteTags autocmd FileType javascript setlocal omnifunc=javascriptcomplete#CompleteJS -- cgit v1.2.3-24-g4f1b