From c75a970a64e3e8e764422fb2d34126d350294fb6 Mon Sep 17 00:00:00 2001 From: agryphus Date: Wed, 15 Jul 2026 14:34:29 -0400 Subject: [PATCH] add: better module highlighting --- after/ftplugin/rust.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/after/ftplugin/rust.lua b/after/ftplugin/rust.lua index 711c400..f515eb5 100644 --- a/after/ftplugin/rust.lua +++ b/after/ftplugin/rust.lua @@ -3,6 +3,7 @@ vim.api.nvim_create_autocmd("LspAttach", { callback = function() vim.defer_fn(function() 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" }) end, 50) end,