From d2afccfda51f0a13cce8e659032fd5c177b721f0 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Sun, 16 Mar 2025 01:49:12 -0600 Subject: fix: use new ruff lsp, update colorscheme --- lua/plugins/theme.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'lua/plugins/theme.lua') 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') -- cgit v1.2.3-70-g09d2