diff options
Diffstat (limited to 'lua/lspconfig/bashls.lua')
| -rw-r--r-- | lua/lspconfig/bashls.lua | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lua/lspconfig/bashls.lua b/lua/lspconfig/bashls.lua index 5990f104..22452d31 100644 --- a/lua/lspconfig/bashls.lua +++ b/lua/lspconfig/bashls.lua @@ -1,19 +1,19 @@ -local configs = require "lspconfig/configs" -local util = require "lspconfig/util" +local configs = require 'lspconfig/configs' +local util = require 'lspconfig/util' -local server_name = "bashls" +local server_name = 'bashls' configs[server_name] = { default_config = { - cmd = { "bash-language-server", "start" }, + cmd = { 'bash-language-server', 'start' }, cmd_env = { -- Prevent recursive scanning which will cause issues when opening a file -- directly in the home directory (e.g. ~/foo.sh). -- -- Default upstream pattern is "**/*@(.sh|.inc|.bash|.command)". - GLOB_PATTERN = vim.env.GLOB_PATTERN or "*@(.sh|.inc|.bash|.command)", + GLOB_PATTERN = vim.env.GLOB_PATTERN or '*@(.sh|.inc|.bash|.command)', }, - filetypes = { "sh" }, + filetypes = { 'sh' }, root_dir = util.path.dirname, }, docs = { |
