aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim_lsp
diff options
context:
space:
mode:
authorHirokazu Hata <h.hata.ai.t@gmail.com>2020-03-21 16:05:27 +0900
committerGitHub <noreply@github.com>2020-03-21 16:05:27 +0900
commit4fe58ec4e1fa3500c7ef98464174bf6c4cb8ce67 (patch)
tree6d436c1265c8f207b706cea4c3fd76f69e03e593 /lua/nvim_lsp
parent[docgen] Update README.md (diff)
parentbashls: Change root_dir to pwd (diff)
downloadnvim-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/nvim_lsp')
-rw-r--r--lua/nvim_lsp/bashls.lua2
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()