fix: no-clown-fiesta not coloring some rust lsp types
This commit is contained in:
parent
ec37d03c65
commit
2538e9b246
1 changed files with 9 additions and 0 deletions
9
after/ftplugin/rust.lua
Normal file
9
after/ftplugin/rust.lua
Normal 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,
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue