Add jedi plugin for python file completion

This commit is contained in:
Edward Litherland-Smith 2021-02-04 15:39:00 +00:00
parent aa00def90c
commit 9aa5247f27
4 changed files with 8 additions and 3 deletions

3
.gitmodules vendored
View file

@ -31,3 +31,6 @@
[submodule "pack/plugins/start/vim-tmux-navigator"]
path = pack/plugins/start/vim-tmux-navigator
url = https://github.com/christoomey/vim-tmux-navigator.git
[submodule "pack/plugins/start/jedi-vim"]
path = pack/plugins/start/jedi-vim
url = https://github.com/davidhalter/jedi-vim.git

View file

@ -1,2 +1,5 @@
setlocal shiftwidth=4
setlocal softtabstop=4
let b:ale_linters = ['pylint', 'jedils']
let b:ale_fixers = ['black']

@ -0,0 +1 @@
Subproject commit 5d4615707fc7bce8a4f1fdaa5f7f07c11637bc30

4
vimrc
View file

@ -3,6 +3,7 @@ source $VIMRUNTIME/defaults.vim
colorscheme slate
set laststatus=2
let mapleader=","
set number
set listchars=trail:.,tab:>_
@ -34,9 +35,6 @@ let g:netrw_list_hide= '\(^\|\s\s\)\zs\.\S\+'
let g:python_highlight_all = 1
let g:ale_completion_enabled = 1
set omnifunc=ale#completion#OmniFunc
let g:lightline = {}
let g:lightline.component_expand = {