Move ALE to start, enable completion for omnifunc

This commit is contained in:
Edward Litherland-Smith 2021-01-22 13:54:21 +00:00
parent d3960cf92f
commit 4f72369350
3 changed files with 4 additions and 1 deletions

2
.gitmodules vendored
View file

@ -8,7 +8,7 @@
path = pack/plugins/start/auto-pairs path = pack/plugins/start/auto-pairs
url = https://github.com/jiangmiao/auto-pairs.git url = https://github.com/jiangmiao/auto-pairs.git
[submodule "pack/plugins/start/ale"] [submodule "pack/plugins/start/ale"]
path = pack/plugins/opt/ale path = pack/plugins/start/ale
url = https://github.com/dense-analysis/ale.git url = https://github.com/dense-analysis/ale.git
[submodule "pack/plugins/start/lightline-ale"] [submodule "pack/plugins/start/lightline-ale"]
path = pack/plugins/start/lightline-ale path = pack/plugins/start/lightline-ale

3
vimrc
View file

@ -35,6 +35,9 @@ command! BufOnly silent! execute "%bd|e#|bd#"
set splitbelow set splitbelow
set splitright set splitright
let g:ale_completion_enabled = 1
set omnifunc=ale#completion#OmniFunc
let g:lightline = {} let g:lightline = {}
let g:lightline.component_expand = { let g:lightline.component_expand = {