Skip to content

Commit

Permalink
fix: jsx tags, methods being italized, incsearch low contrast
Browse files Browse the repository at this point in the history
  • Loading branch information
maxmx03 committed Oct 31, 2023
1 parent 591bdb7 commit 888695f
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
2 changes: 2 additions & 0 deletions after/queries/javascript/highlights.scm
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
; extends

(jsx_self_closing_element (identifier) @tag (#set! "priority" 127))
(jsx_opening_element (identifier) @tag (#set! "priority" 127))
(jsx_closing_element (identifier) @tag (#set! "priority" 127))
2 changes: 2 additions & 0 deletions after/queries/tsx/highlights.scm
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
; extends

(jsx_self_closing_element (identifier) @tag (#set! "priority" 127))
(jsx_opening_element (identifier) @tag (#set! "priority" 127))
(jsx_closing_element (identifier) @tag (#set! "priority" 127))
2 changes: 1 addition & 1 deletion doc/solarized.nvim.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*solarized.nvim.txt* For NVIM v0.9.1 Last change: 2023 October 02
*solarized.nvim.txt* For NVIM v0.9.1 Last change: 2023 October 23

==============================================================================
Table of Contents *solarized.nvim-table-of-contents*
Expand Down
2 changes: 1 addition & 1 deletion lua/solarized/themes/neo/editor.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ return function(c, config)
set_hl('Folded', { fg = c.base0, bg = c.base02 }) -- Line used for closed folds
set_hl('FoldColumn', { fg = c.base0, bg = c.base04 }) -- 'foldcolumn'
set_hl('SignColumn', { fg = c.base0, bg = c.base03 }, { transparent = config.transparent }) -- Column were signs are displayed
set_hl('IncSearch', { fg = c.base3, bg = c.base04 }, { transparent = config.transparent }) -- 'incsearch' highlighting, also for the text replaced
set_hl('IncSearch', { fg = c.base3, bg = c.base04, bold = true }, { transparent = config.transparent }) -- 'incsearch' highlighting, also for the text replaced
set_hl('Substitute', { fg = c.orange, reverse = true }) -- :substitute replacement text highlight
set_hl('LineNr', { fg = c.base01, bg = c.base03 }, { transparent = config.transparent }) -- Line number for ":number" and ":#" commands
set_hl('LineNrAbove', { link = 'LineNr' }) -- Line number, above the cursor line
Expand Down
6 changes: 3 additions & 3 deletions lua/solarized/themes/neo/syntax.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ return function(c, config)
set_hl('Number', { fg = c.magenta }, { styles = config.styles.numbers }) -- a number constant: 234, 0xff
set_hl('Boolean', { fg = c.violet }) -- a boolean constant: TRUE, false
set_hl('Float', { link = 'Number' }) -- a floating point constant: 2.3e10
set_hl('Identifier', { fg = c.base0, italic = true }, { styles = config.styles.variables }) -- any variable name
set_hl('Function', { fg = c.blue, italic = true }, { styles = config.styles.functions }) -- function name (also: methods for classes)
set_hl('Identifier', { fg = c.base0 }, { styles = config.styles.variables }) -- any variable name
set_hl('Function', { fg = c.blue }, { styles = config.styles.functions }) -- function name (also: methods for classes)
set_hl('Statement', { link = 'Keyword' }) -- any statement
set_hl('Conditional', { link = 'Keyword' }) -- if, then, else, endif, switch, etc.
set_hl('Repeat', { link = 'Keyword' }) -- for, do, while, etc.
Expand All @@ -30,7 +30,7 @@ return function(c, config)
set_hl('Special', { fg = c.magenta }) -- special symbol
set_hl('SpecialChar', { fg = c.violet }) -- special character in a constant
set_hl('Tag', { link = 'Special' }) -- you can use CTRL-] on this
set_hl('Delimiter', { fg = c.yellow }) -- character that needs attention
set_hl('Delimiter', { fg = c.orange }) -- character that needs attention
set_hl('SpecialComment', { link = 'Keyword' }) -- special things inside a comment
set_hl('Debug', { link = 'Keyword' }) -- debugging statements
set_hl('Underlined', { fg = c.violet, underline = true }) --text that stands out, HTML links
Expand Down

0 comments on commit 888695f

Please sign in to comment.