From 508148942ab341588e99a1b61e7ae87edfd4fe02 Mon Sep 17 00:00:00 2001 From: Tilo K Date: Sun, 7 Jan 2024 18:32:59 +0100 Subject: [PATCH] Leptos --- init.lua | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/init.lua b/init.lua index 26de89e..30e19de 100644 --- a/init.lua +++ b/init.lua @@ -647,3 +647,21 @@ vim.api.nvim_set_keymap('n', '', ':m+', { noremap = true, silent = t vim.api.nvim_set_keymap('n', 'td', ':TodoTelescope', { noremap = true, silent = true }) + +require('lspconfig').rust_analyzer.setup { + -- Other Configs ... + settings = { + ["rust-analyzer"] = { + -- Other Settings ... + procMacro = { + ignored = { + leptos_macro = { + "component", + "server", + }, + }, + }, + }, + } +} +