diff options
| author | Ashkan Kiani <ashkan.k.kiani@gmail.com> | 2019-11-17 13:52:21 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-17 13:52:21 -0800 |
| commit | 0d30787a47b4f4d04d5a08fe6eadf309c8e055b7 (patch) | |
| tree | 0912925a177bb51c87a849a252cebe9ffd389e63 /lua | |
| parent | Change root_dir for single instance servers (#33) (diff) | |
| download | nvim-lspconfig-0d30787a47b4f4d04d5a08fe6eadf309c8e055b7.tar nvim-lspconfig-0d30787a47b4f4d04d5a08fe6eadf309c8e055b7.tar.gz nvim-lspconfig-0d30787a47b4f4d04d5a08fe6eadf309c8e055b7.tar.bz2 nvim-lspconfig-0d30787a47b4f4d04d5a08fe6eadf309c8e055b7.tar.lz nvim-lspconfig-0d30787a47b4f4d04d5a08fe6eadf309c8e055b7.tar.xz nvim-lspconfig-0d30787a47b4f4d04d5a08fe6eadf309c8e055b7.tar.zst nvim-lspconfig-0d30787a47b4f4d04d5a08fe6eadf309c8e055b7.zip | |
Add package_json for pyls and update docgen (#32)
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/nvim_lsp/pyls.lua | 39 |
1 files changed, 2 insertions, 37 deletions
diff --git a/lua/nvim_lsp/pyls.lua b/lua/nvim_lsp/pyls.lua index 36d63109..372385bd 100644 --- a/lua/nvim_lsp/pyls.lua +++ b/lua/nvim_lsp/pyls.lua @@ -13,46 +13,11 @@ skeleton.pyls = { -- on_new_config = function(new_config) end; -- on_attach = function(client, bufnr) end; docs = { + package_json = "https://github.com/palantir/python-language-server/raw/develop/vscode-client/package.json"; description = [[ https://github.com/palantir/python-language-server -python-language-server, a language server for Python - -the following settings (with default options) are supported: -```lua -settings = { - pyls = { - enable = true; - trace = { server = "verbose"; }; - commandPath = ""; - configurationSources = { "pycodestyle" }; - plugins = { - jedi_completion = { enabled = true; }; - jedi_hover = { enabled = true; }; - jedi_references = { enabled = true; }; - jedi_signature_help = { enabled = true; }; - jedi_symbols = { - enabled = true; - all_scopes = true; - }; - mccabe = { - enabled = true; - threshold = 15; - }; - preload = { enabled = true; }; - pycodestyle = { enabled = true; }; - pydocstyle = { - enabled = false; - match = "(?!test_).*\\.py"; - matchDir = "[^\\.].*"; - }; - pyflakes = { enabled = true; }; - rope_completion = { enabled = true; }; - yapf = { enabled = true; }; - }; - }; -}; -``` +`python-language-server`, a language server for Python. ]]; default_config = { root_dir = "vim's starting directory"; |
