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/rust.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ftplugin/rust.lua') diff --git a/ftplugin/rust.lua b/ftplugin/rust.lua index 2a106e7e..6a6af9d2 100644 --- a/ftplugin/rust.lua +++ b/ftplugin/rust.lua @@ -1,3 +1,7 @@ +if require("lv-utils").check_lsp_client_active "rust_analyzer" then + return +end + if O.lang.rust.rust_tools.active then local opts = { tools = { -- rust-tools options -- cgit v1.2.3