1
0
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:
jdhao 2020-11-16 22:35:10 +08:00
parent 04ede68669
commit 4c6c3e5e68

View File

@ -370,7 +370,7 @@ let g:lsp_diagnostics_float_delay = 100
" set up pyls for vim-lsp
if executable('pyls')
" pip install python-language-server
" pip install python-language-server
augroup pyls_setup
autocmd!
autocmd User lsp_setup call lsp#register_server({
@ -383,6 +383,7 @@ if executable('pyls')
\ 'plugins': {'flake8': {'enabled': v:true},
\ 'pyflakes': {'enabled': v:false},
\ 'pycodestyle': {'enabled': v:false},
\ 'jedi_completion': {'fuzzy': v:true},
\ }
\ }
\ }})