diff --git a/.config/nvim/lua/ztf/lsp.lua b/.config/nvim/lua/ztf/lsp.lua index b335c1ca5e824c05d24d327bf558b32edce474b9..c5f06379d123c82b9de62fdc5d57548588f93324 100644 --- a/.config/nvim/lua/ztf/lsp.lua +++ b/.config/nvim/lua/ztf/lsp.lua @@ -132,3 +132,20 @@ if not configs.muddles then } end lspconfig.muddles.setup {} +lspconfig.rust_analyzer.setup { + -- Other Configs ... + settings = { + ["rust-analyzer"] = { + -- Other Settings ... + procMacro = { + ignored = { + leptos_macro = { + -- optional: -- + -- "component", + "server", + }, + }, + }, + }, + } +}