diff options
Diffstat (limited to 'lua/nvim_lsp/bashls.lua')
| -rw-r--r-- | lua/nvim_lsp/bashls.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lua/nvim_lsp/bashls.lua b/lua/nvim_lsp/bashls.lua index c34affef..a82e16a0 100644 --- a/lua/nvim_lsp/bashls.lua +++ b/lua/nvim_lsp/bashls.lua @@ -2,8 +2,6 @@ local skeleton = require 'nvim_lsp/skeleton' local util = require 'nvim_lsp/util' local lsp = vim.lsp -local cwd = vim.loop.cwd() - local server_name = "bashls" local bin_name = "bash-language-server" @@ -17,7 +15,7 @@ skeleton[server_name] = { default_config = { cmd = {"bash-language-server", "start"}; filetypes = {"sh"}; - root_dir = function() return cwd end; + root_dir = util.once(vim.loop.cwd()); log_level = lsp.protocol.MessageType.Warning; settings = {}; }; |
