diff options
| author | Hirokazu Hata <h.hata.ai.t@gmail.com> | 2020-03-21 16:05:27 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-21 16:05:27 +0900 |
| commit | 4fe58ec4e1fa3500c7ef98464174bf6c4cb8ce67 (patch) | |
| tree | 6d436c1265c8f207b706cea4c3fd76f69e03e593 /lua | |
| parent | [docgen] Update README.md (diff) | |
| parent | bashls: Change root_dir to pwd (diff) | |
| download | nvim-lspconfig-4fe58ec4e1fa3500c7ef98464174bf6c4cb8ce67.tar nvim-lspconfig-4fe58ec4e1fa3500c7ef98464174bf6c4cb8ce67.tar.gz nvim-lspconfig-4fe58ec4e1fa3500c7ef98464174bf6c4cb8ce67.tar.bz2 nvim-lspconfig-4fe58ec4e1fa3500c7ef98464174bf6c4cb8ce67.tar.lz nvim-lspconfig-4fe58ec4e1fa3500c7ef98464174bf6c4cb8ce67.tar.xz nvim-lspconfig-4fe58ec4e1fa3500c7ef98464174bf6c4cb8ce67.tar.zst nvim-lspconfig-4fe58ec4e1fa3500c7ef98464174bf6c4cb8ce67.zip | |
Merge pull request #176 from lithammer/bashls-root-dir
Change root_dir for bashls to pwd
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/nvim_lsp/bashls.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/nvim_lsp/bashls.lua b/lua/nvim_lsp/bashls.lua index f8d00e9e..68651e32 100644 --- a/lua/nvim_lsp/bashls.lua +++ b/lua/nvim_lsp/bashls.lua @@ -14,7 +14,7 @@ configs[server_name] = { default_config = { cmd = {"bash-language-server", "start"}; filetypes = {"sh"}; - root_dir = vim.loop.os_homedir; + root_dir = util.path.dirname; }; on_new_config = function(new_config) local install_info = installer.info() |
