Skip to content

Commit

Permalink
feat: Improve TreesitterContext highlights
Browse files Browse the repository at this point in the history
  • Loading branch information
polirritmico committed Jan 26, 2024
1 parent bb70f5f commit 57c0c74
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/monokai-nightasty.nvim.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*monokai-nightasty.nvim.txt* For Neovim >= 0.9 Last change: 2024 January 24
*monokai-nightasty.nvim.txt* For Neovim >= 0.9 Last change: 2024 January 26

==============================================================================
Table of Contents *monokai-nightasty.nvim-table-of-contents*
Expand Down
8 changes: 6 additions & 2 deletions lua/monokai-nightasty/theme.lua
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,6 @@ function M.setup(palette)
healthWarning = { fg = c.warning },

-- TreeSitter
TreesitterContext = { bg = options.transparent and c.none or util.darken(c.fg_gutter, 0.8) },
TreesitterContextBottom = { sp = c.border, underline = true },
Hlargs = { fg = c.yellow },

--- Treesitter highlights
Expand Down Expand Up @@ -609,6 +607,12 @@ function M.setup(palette)
TodoSignTODO = { link = "TodoFgTODO" },
TodoSignWARN = { link = "TodoFgWARN" },

--- TreeSitter Context
TreesitterContext = { bg = c.bg_sidebar },
TreesitterContextBottom = { sp = c.border, underline = true },
TreesitterContextLineNumber = { fg = c.grey_medium, bg = c.bg_sidebar },
TreesitterContextLineNumberBottom = { fg = c.yellow, sp = c.border, underline = true },

--- WhichKey
WhichKey = { fg = c.yellow },
WhichKeyGroup = { fg = c.magenta },
Expand Down

0 comments on commit 57c0c74

Please sign in to comment.