diff options
author | hui.liu <[email protected]> | 2021-07-09 00:35:41 +0800 |
---|---|---|
committer | GitHub <[email protected]> | 2021-07-08 12:35:41 -0400 |
commit | 53fed9d65538e0b9dcad6f32cca63b1d445a76dd (patch) | |
tree | 2c28d47cff9c45f5c5626516118600e4a8e6621b /ftplugin/ruby.lua | |
parent | 9233611bdcad1603cd217f6cc8a90e1a7e7a91b8 (diff) |
Check lsp client is active for all language files (#790)
Diffstat (limited to 'ftplugin/ruby.lua')
-rw-r--r-- | ftplugin/ruby.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ftplugin/ruby.lua b/ftplugin/ruby.lua index bc844cd3..7f86ffb9 100644 --- a/ftplugin/ruby.lua +++ b/ftplugin/ruby.lua @@ -1,3 +1,7 @@ +if require("lv-utils").check_lsp_client_active "solargraph" then + return +end + -- If you are using rvm, make sure to change below configuration require("lspconfig").solargraph.setup { cmd = { DATA_PATH .. "/lspinstall/ruby/solargraph/solargraph", "stdio" }, |