-
Notifications
You must be signed in to change notification settings - Fork 304
Servers Python
Ryan Olson edited this page May 10, 2018
·
7 revisions
A Python 2.7 and 3.4+ implementation of the Language Server Protocol.
pip install python-language-server
Using vim-lsp-python plugin
You can either register the python-language-server
in your .vimrc yourself (as described below) or you can simply install the vim-lsp-python
plugin, which will handle all of that for you.
if executable('pyls')
au User lsp_setup call lsp#register_server({
\ 'name': 'pyls',
\ 'cmd': {server_info->['pyls']},
\ 'whitelist': ['python'],
\ })
endif