fix: no-clown-fiesta not coloring some rust lsp types

This commit is contained in:
andrew 2026-04-16 14:42:09 -04:00
parent ec37d03c65
commit 2538e9b246

9
after/ftplugin/rust.lua Normal file
View file

@ -0,0 +1,9 @@
vim.api.nvim_create_autocmd("LspAttach", {
buffer = 0,
callback = function()
vim.defer_fn(function()
vim.api.nvim_set_hl(0, "@lsp.type.namespace.rust", { link = "Include" })
vim.api.nvim_set_hl(0, "@lsp.type.macro.rust", { link = "Macro" })
end, 50)
end,
})