From c0dc6540f06f7be8459fbaedb62bb48edd3e57f7 Mon Sep 17 00:00:00 2001 From: niverton Date: Tue, 1 Jul 2025 22:58:22 +0200 Subject: [PATCH] feat(rust): dump dioxus --- lua/plugins/20-lsp.lua | 5 ++++- lua/plugins/21-format.lua | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lua/plugins/20-lsp.lua b/lua/plugins/20-lsp.lua index 6cd8c1a..9af7ea9 100644 --- a/lua/plugins/20-lsp.lua +++ b/lua/plugins/20-lsp.lua @@ -22,7 +22,10 @@ return { cmd = { "qmlls6" }, }, }, - servers = { "qmlls" }, + servers = { + "qmlls", + "rust-analyzer", + }, features = { signature_help = true, inlay_hints = true, diff --git a/lua/plugins/21-format.lua b/lua/plugins/21-format.lua index a478dcf..32bd15d 100644 --- a/lua/plugins/21-format.lua +++ b/lua/plugins/21-format.lua @@ -6,7 +6,7 @@ return { ---@type conform.setupOpts opts = { formatters_by_ft = { - rust = { "dioxus", lsp_format = "first" }, + rust = { "leptosfmt", lsp_format = "first" }, }, }, }