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", + }, + }, + }, + }, + } +} +