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/graphql.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ftplugin/graphql.lua') diff --git a/ftplugin/graphql.lua b/ftplugin/graphql.lua index df3dce9b..c9ce5437 100644 --- a/ftplugin/graphql.lua +++ b/ftplugin/graphql.lua @@ -1,2 +1,6 @@ +if require("lv-utils").check_lsp_client_active "graphql" then + return +end + -- npm install -g graphql-language-service-cli require("lspconfig").graphql.setup { on_attach = require("lsp").common_on_attach } -- cgit v1.2.3