add: better module highlighting
This commit is contained in:
parent
fa9f1751b6
commit
c75a970a64
1 changed files with 1 additions and 0 deletions
|
|
@ -3,6 +3,7 @@ vim.api.nvim_create_autocmd("LspAttach", {
|
||||||
callback = function()
|
callback = function()
|
||||||
vim.defer_fn(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.namespace.rust", { link = "Include" })
|
||||||
|
vim.api.nvim_set_hl(0, "@module.rust", { link = "Include" })
|
||||||
vim.api.nvim_set_hl(0, "@lsp.type.macro.rust", { link = "Macro" })
|
vim.api.nvim_set_hl(0, "@lsp.type.macro.rust", { link = "Macro" })
|
||||||
end, 50)
|
end, 50)
|
||||||
end,
|
end,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue