From 3d610a30903ae06fb7fdef3ca2657fae27b57c6b Mon Sep 17 00:00:00 2001 From: hhhh hgfh Date: Mon, 5 Oct 2026 00:37:52 +0300 Subject: [PATCH] feat: add Nix highlights to xcodedark theme --- nvim/lua/themes/xcodedark.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nvim/lua/themes/xcodedark.lua b/nvim/lua/themes/xcodedark.lua index 9df6a5e..9644da5 100644 --- a/nvim/lua/themes/xcodedark.lua +++ b/nvim/lua/themes/xcodedark.lua @@ -334,6 +334,13 @@ M.configure_highlights = function() hi(0, "TSVariableBuiltin",{ fg = color.yellow, italic = true }) -- ── Statement / Identifier overrides ───────────────────────────────────── + -- Nix attributes and variables make up most of a configuration file. + hi(0, "@variable.nix", { fg = color.light_purple }) + hi(0, "@variable.member.nix", { fg = color.teal }) + hi(0, "@variable.parameter.nix", { fg = color.light_blue }) + hi(0, "@string.special.path.nix",{ fg = color.green }) + hi(0, "@string.special.url.nix", { fg = color.blue }) + hi(0, "Statement", { link = "TSKeyword" }) hi(0, "Comment", { link = "TSComment" }) hi(0, "Number", { link = "TSNumber" })