summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2019-08-26 08:40:24 +0200
committerFlorian Pritz <bluewind@xinu.at>2019-10-08 15:58:20 +0200
commit0f4cf4ecb2f27b96c41a96b07f7e3820b903db7d (patch)
treebb0d28c44099388ad006e31f2270764a3db09591
parentca1f695e5a512438c141b0aa178c969286745af7 (diff)
downloaddotfiles-0f4cf4ecb2f27b96c41a96b07f7e3820b903db7d.tar.gz
dotfiles-0f4cf4ecb2f27b96c41a96b07f7e3820b903db7d.tar.xz
vim: Enable vim-ale completion
Signed-off-by: Florian Pritz <bluewind@xinu.at>
m---------.vim/bundle/ale0
-rw-r--r--.vimrc2
2 files changed, 2 insertions, 0 deletions
diff --git a/.vim/bundle/ale b/.vim/bundle/ale
-Subproject 32c8bd1fa4629d52df27103fcf18d59c5d16b34
+Subproject 28c93ab1854ef41a46855401cc4addbaf7dfb9d
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 <leader>b :<C-u>Unite -buffer-name=buffer buffer<cr>
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