mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
enable fuzzy completion for pyls
This commit is contained in:
parent
04ede68669
commit
4c6c3e5e68
@ -370,7 +370,7 @@ let g:lsp_diagnostics_float_delay = 100
|
|||||||
|
|
||||||
" set up pyls for vim-lsp
|
" set up pyls for vim-lsp
|
||||||
if executable('pyls')
|
if executable('pyls')
|
||||||
" pip install python-language-server
|
" pip install python-language-server
|
||||||
augroup pyls_setup
|
augroup pyls_setup
|
||||||
autocmd!
|
autocmd!
|
||||||
autocmd User lsp_setup call lsp#register_server({
|
autocmd User lsp_setup call lsp#register_server({
|
||||||
@ -383,6 +383,7 @@ if executable('pyls')
|
|||||||
\ 'plugins': {'flake8': {'enabled': v:true},
|
\ 'plugins': {'flake8': {'enabled': v:true},
|
||||||
\ 'pyflakes': {'enabled': v:false},
|
\ 'pyflakes': {'enabled': v:false},
|
||||||
\ 'pycodestyle': {'enabled': v:false},
|
\ 'pycodestyle': {'enabled': v:false},
|
||||||
|
\ 'jedi_completion': {'fuzzy': v:true},
|
||||||
\ }
|
\ }
|
||||||
\ }
|
\ }
|
||||||
\ }})
|
\ }})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user