summaryrefslogtreecommitdiff
path: root/lua/plugins/theme.lua
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2025-03-16 01:49:12 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2025-03-16 01:49:12 -0600
commitd2afccfda51f0a13cce8e659032fd5c177b721f0 (patch)
treef6f10f7d4b253c50d5ac261a875bd1e7d86e661d /lua/plugins/theme.lua
parent67d76fd18c0af3f00d9c55f82597401116a456fa (diff)
fix: use new ruff lsp, update colorschemeHEADmain
Diffstat (limited to 'lua/plugins/theme.lua')
-rw-r--r--lua/plugins/theme.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/lua/plugins/theme.lua b/lua/plugins/theme.lua
index 1085034..9abeb93 100644
--- a/lua/plugins/theme.lua
+++ b/lua/plugins/theme.lua
@@ -11,6 +11,7 @@ return {
borders = true,
errors = { mode = 'bg' },
search = { theme = 'vim' },
+
styles = {
-- Style to be applied to different syntax groups
-- Value is any valid attr-list value for `:help nvim_set_hl`
@@ -18,12 +19,22 @@ return {
keywords = {},
functions = {},
variables = {},
+ errors = {},
+
-- To customize lualine/bufferline
bufferline = {
current = {},
modified = { italic = true },
},
},
+
+ -- Definitions from the old nord theme I was using:
+ -- https://github.com/shaunsingh/nord.nvim/blob/master/lua/nord/theme.lua
+ on_highlights = function(hl, c)
+ -- Treesitter: https://github.com/gbprod/nord.nvim/blob/main/lua/nord/treesitter.lua
+ -- old theme was in yellow, changed the default to purple to match better the newer theme
+ hl["@constant"] = { fg = c.aurora.purple }
+ end,
})
vim.cmd.colorscheme('nord')