Check lsp client is active for all language files (#790)

This commit is contained in:
hui.liu 2021-07-09 00:35:41 +08:00 committed by GitHub
parent 9233611bdc
commit 53fed9d655
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
33 changed files with 412 additions and 291 deletions

View file

@ -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 }