From 3f2901957085fb550f729a8501aff0642f8d0216 Mon Sep 17 00:00:00 2001 From: mvllow Date: Tue, 12 Oct 2021 12:23:58 -0500 Subject: [PATCH] feat: add `punctuation` to `vim.g.rose_pine_colors` ref #29 --- lua/rose-pine/theme.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lua/rose-pine/theme.lua b/lua/rose-pine/theme.lua index 502ca57..024f953 100644 --- a/lua/rose-pine/theme.lua +++ b/lua/rose-pine/theme.lua @@ -2,6 +2,7 @@ local p = require('rose-pine.palette') local user_colors = vim.g.rose_pine_colors or {} local groups = { + punctuation = user_colors.punctuation or p.subtle, comment = user_colors.comment or p.subtle, hint = user_colors.hint or p.iris, info = user_colors.info or p.foam, @@ -266,9 +267,9 @@ theme.treesitter = { fg = p.iris, style = maybe_italic, }, - TSPunctBracket = { fg = p.subtle }, - TSPunctDelimiter = { fg = p.subtle }, - TSPunctSpecial = { fg = p.subtle }, + TSPunctBracket = { fg = groups.punctuation }, + TSPunctDelimiter = { fg = groups.punctuation }, + TSPunctSpecial = { fg = groups.punctuation }, -- TSRepeat = {}, -- TSStrike = {}, TSString = { fg = p.gold },