summaryrefslogtreecommitdiff
path: root/ftplugin/rust.lua
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/rust.lua')
-rw-r--r--ftplugin/rust.lua4
1 files changed, 4 insertions, 0 deletions
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