diff options
| author | Hirokazu Hata <h.hata.ai.t@gmail.com> | 2020-06-24 14:01:35 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-24 14:01:35 +0900 |
| commit | 7446e6dca06b376ffe502d2752fa3ceb5ce5bb25 (patch) | |
| tree | 107d3fcc782c847dacdea0f306d3367b47783c2f /lua | |
| parent | Merge pull request #284 from fsouza/add-jedi-language-server (diff) | |
| parent | pyls: fix definition of root dir to match the docs (diff) | |
| download | nvim-lspconfig-7446e6dca06b376ffe502d2752fa3ceb5ce5bb25.tar nvim-lspconfig-7446e6dca06b376ffe502d2752fa3ceb5ce5bb25.tar.gz nvim-lspconfig-7446e6dca06b376ffe502d2752fa3ceb5ce5bb25.tar.bz2 nvim-lspconfig-7446e6dca06b376ffe502d2752fa3ceb5ce5bb25.tar.lz nvim-lspconfig-7446e6dca06b376ffe502d2752fa3ceb5ce5bb25.tar.xz nvim-lspconfig-7446e6dca06b376ffe502d2752fa3ceb5ce5bb25.tar.zst nvim-lspconfig-7446e6dca06b376ffe502d2752fa3ceb5ce5bb25.zip | |
Merge pull request #283 from fsouza/fix-pyls-pyls_ms-default-root
pyls: fix definition of root dir to match the docs
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/nvim_lsp/pyls.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lua/nvim_lsp/pyls.lua b/lua/nvim_lsp/pyls.lua index 5c2bfc7c..6d4aeb56 100644 --- a/lua/nvim_lsp/pyls.lua +++ b/lua/nvim_lsp/pyls.lua @@ -1,12 +1,11 @@ local configs = require 'nvim_lsp/configs' -local util = require 'nvim_lsp/util' configs.pyls = { default_config = { cmd = {"pyls"}; filetypes = {"python"}; root_dir = function(fname) - return util.path.dirname(fname) + return vim.fn.getcwd() end; }; docs = { |
