Skip to content

Commit

Permalink
Add tree-sitter highlighting for JSX tag attribute, #99
Browse files Browse the repository at this point in the history
  • Loading branch information
cocopon committed Apr 26, 2022
1 parent 105aceb commit 5ac9da6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion colors/iceberg.vim
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"
" File: iceberg.vim
" Maintainer: cocopon <[email protected]>
" Modified: 2021-12-28 09:50+0900
" Modified: 2022-04-26 21:56+0900
" License: MIT


Expand Down Expand Up @@ -430,6 +430,7 @@ hi! link TSString String
hi! link TSStringRegex String
hi! link TSStringEscape Special
hi! link TSTag htmlTagName
hi! link TSTagAttribute htmlArg
hi! link TSTagDelimiter htmlTagName
hi! link TSText icebergNormalFg
hi! link TSTitle Title
Expand Down
1 change: 1 addition & 0 deletions src/iceberg.vim
Original file line number Diff line number Diff line change
Expand Up @@ -862,6 +862,7 @@ function! s:create_links() abort
call add(links, pgmnt#hi#link('TSStringRegex', 'String'))
call add(links, pgmnt#hi#link('TSStringEscape', 'Special'))
call add(links, pgmnt#hi#link('TSTag', 'htmlTagName'))
call add(links, pgmnt#hi#link('TSTagAttribute', 'htmlArg'))
call add(links, pgmnt#hi#link('TSTagDelimiter', 'htmlTagName'))
call add(links, pgmnt#hi#link('TSText', 'icebergNormalFg'))
call add(links, pgmnt#hi#link('TSTitle', 'Title'))
Expand Down

0 comments on commit 5ac9da6

Please sign in to comment.