Skip to content

Commit

Permalink
Merge branch 'main' into correct-background-colour
Browse files Browse the repository at this point in the history
  • Loading branch information
Mofiqul authored May 9, 2024
2 parents b647b6d + 80e4812 commit cdc96de
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 4 deletions.
39 changes: 39 additions & 0 deletions after/queries/jsx/highlights.scm
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
;; extends
(jsx_opening_element
((identifier) @type
(#lua-match? @type "[A-Z]")))

(jsx_closing_element
((identifier) @type
(#lua-match? @type "[A-Z]")))

(jsx_opening_element
((identifier) @type
(#lua-match? @type "%-")))

(jsx_closing_element
((identifier) @type
(#lua-match? @type "%-")))

(jsx_opening_element
(member_expression
(identifier) @type
(property_identifier) @type))

(jsx_closing_element
(member_expression
(identifier) @type
(property_identifier) @type))

(jsx_self_closing_element
((identifier) @type
(#lua-match? @type "[A-Z]")))

(jsx_self_closing_element
((identifier) @type
(#lua-match? @type "%-")))

(jsx_self_closing_element
(member_expression
(identifier) @type
(property_identifier) @type))
2 changes: 2 additions & 0 deletions after/queries/typescript/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@
[
"break"
] @keyword.conditional

(import_statement "type" @keyword.import)
7 changes: 5 additions & 2 deletions extra/zathura/vscode-dark
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ set notification-error-fg "#f44747"
set notification-warning-bg "#1f1f1f"
set notification-warning-fg "#d7ba7d"

set highlight-color "#007acc"
set highlight-active-color "#d4d4d4"
set highlight-color "rgba(0,122,204,0.5)"
set highlight-active-color "rgba(215,186,125,0.5)"

set highlight-fg "#f44747"

set completion-highlight-fg "#56b6c2"
set completion-highlight-bg "#1f1f1f"
Expand All @@ -34,4 +36,5 @@ set index-fg "#d4d4d4"
set index-bg "#1f1f1f"

set index-active-fg "#56b6c2"

set index-active-bg "#1f1f1f"
6 changes: 4 additions & 2 deletions extra/zathura/vscode-light
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ set notification-error-fg "#c72e0f"
set notification-warning-fg "#795e25"
set notification-warning-bg "#ffffff"

set highlight-color "#007acc"
set highlight-active-color "#808080"
set highlight-color "rgba(0,122,204,0.5)"
set highlight-active-color "rgba(215,186,125,0.5)"

set highlight-fg "#c72e0f"

set completion-highlight-bg "#56b6c2"
set completion-highlight-fg "#000000"
Expand Down

0 comments on commit cdc96de

Please sign in to comment.