From 4f72369350ccee1fa84704e44c4e0d39941fbeb4 Mon Sep 17 00:00:00 2001 From: Edward Litherland-Smith Date: Fri, 22 Jan 2021 13:54:21 +0000 Subject: [PATCH] Move ALE to start, enable completion for omnifunc --- .gitmodules | 2 +- pack/plugins/{opt => start}/ale | 0 vimrc | 3 +++ 3 files changed, 4 insertions(+), 1 deletion(-) rename pack/plugins/{opt => start}/ale (100%) diff --git a/.gitmodules b/.gitmodules index ef24a531..391a6894 100644 --- a/.gitmodules +++ b/.gitmodules @@ -8,7 +8,7 @@ path = pack/plugins/start/auto-pairs url = https://github.com/jiangmiao/auto-pairs.git [submodule "pack/plugins/start/ale"] - path = pack/plugins/opt/ale + path = pack/plugins/start/ale url = https://github.com/dense-analysis/ale.git [submodule "pack/plugins/start/lightline-ale"] path = pack/plugins/start/lightline-ale diff --git a/pack/plugins/opt/ale b/pack/plugins/start/ale similarity index 100% rename from pack/plugins/opt/ale rename to pack/plugins/start/ale diff --git a/vimrc b/vimrc index 72868ab5..56970ae4 100644 --- a/vimrc +++ b/vimrc @@ -35,6 +35,9 @@ command! BufOnly silent! execute "%bd|e#|bd#" set splitbelow set splitright +let g:ale_completion_enabled = 1 +set omnifunc=ale#completion#OmniFunc + let g:lightline = {} let g:lightline.component_expand = {