From bc7f4439a5f700bea8c388fe9833689d7db68503 Mon Sep 17 00:00:00 2001 From: Josh Lay Date: Fri, 23 Sep 2022 19:29:32 -0500 Subject: [PATCH] Add 'bash' file types to vim-lsp allowlist MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Files may be identified either as `sh` or `bash` with modelines, this helps ensure consistent usage _Note_: A similar approach may be useful/viable for other configurations, I'm only noting what I can actually test 😄 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2a685a00b..af621eb26 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ if executable('bash-language-server') au User lsp_setup call lsp#register_server({ \ 'name': 'bash-language-server', \ 'cmd': {server_info->[&shell, &shellcmdflag, 'bash-language-server start']}, - \ 'allowlist': ['sh'], + \ 'allowlist': ['sh', 'bash'], \ }) endif ```