From 53fed9d65538e0b9dcad6f32cca63b1d445a76dd Mon Sep 17 00:00:00 2001 From: "hui.liu" Date: Fri, 9 Jul 2021 00:35:41 +0800 Subject: Check lsp client is active for all language files (#790) --- ftplugin/elixir.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ftplugin/elixir.lua') diff --git a/ftplugin/elixir.lua b/ftplugin/elixir.lua index fbb5b29b..f3869ee5 100644 --- a/ftplugin/elixir.lua +++ b/ftplugin/elixir.lua @@ -1,3 +1,7 @@ +if require("lv-utils").check_lsp_client_active "elixirls" then + return +end + require("lspconfig").elixirls.setup { cmd = { DATA_PATH .. "/lspinstall/elixir/elixir-ls/language_server.sh" }, } -- cgit v1.2.3