X-Git-Url: http://www.git.stargrave.org/?p=dotfiles.git;a=blobdiff_plain;f=vim%2F.vim%2Fftplugin%2Fpython%2Flsp.vim;fp=vim%2F.vim%2Fftplugin%2Fpython%2Flsp.vim;h=4c04cd29a92088617fa51c8e2bbb97e76212e54e;hp=0000000000000000000000000000000000000000;hb=abeca38b2bf8282f0ad673286bc51fbaf59d27f2;hpb=9633fd6cce6ff7fb1addda0c03448a9f4ecb1254 diff --git a/vim/.vim/ftplugin/python/lsp.vim b/vim/.vim/ftplugin/python/lsp.vim new file mode 100644 index 0000000..4c04cd2 --- /dev/null +++ b/vim/.vim/ftplugin/python/lsp.vim @@ -0,0 +1,8 @@ +if executable("pyls") + " pip install python-language-server + au User lsp_setup call lsp#register_server({ + \ "name": "pyls", + \ "cmd": {server_info->["pyls"]}, + \ "whitelist": ["python"], + \}) +endif