diff vendor/vim-packs/srcery-vim/after/syntax/html.vim @ 726:78469331407e

Update syntaxes
author nanaya <me@nanaya.net>
date Mon, 19 Aug 2024 17:04:13 +0900
parents 1e0f578f6752
children
line wrap: on
line diff
--- a/vendor/vim-packs/srcery-vim/after/syntax/html.vim	Mon Aug 19 17:03:52 2024 +0900
+++ b/vendor/vim-packs/srcery-vim/after/syntax/html.vim	Mon Aug 19 17:04:13 2024 +0900
@@ -22,26 +22,18 @@
 hi! link htmlTagN SrceryBlue
 hi! link htmlSpecialTagName SrceryBlue
 
+hi! link javaScript Normal
+
 call srcery#helper#Highlight('htmlLink', s:bright_white, s:none, s:underline)
 
 hi! link htmlSpecialChar SrceryYellow
 
-if g:srcery_bg_passthrough == 1 && !has('gui_running')
-  call srcery#helper#Highlight('htmlBold', s:bright_white, s:none, s:bold)
-  call srcery#helper#Highlight('htmlBoldUnderline', s:bright_white, s:none, s:bold . s:underline)
-  call srcery#helper#Highlight('htmlBoldItalic', s:bright_white, s:none, s:bold . s:italic)
-  call srcery#helper#Highlight('htmlBoldUnderlineItalic', s:bright_white, s:none, s:bold . s:underline . s:italic)
-  call srcery#helper#Highlight('htmlUnderline', s:bright_white, s:none, s:underline)
-  call srcery#helper#Highlight('htmlUnderlineItalic', s:bright_white, s:none, s:underline . s:italic)
-  call srcery#helper#Highlight('htmlItalic', s:bright_white, s:none, s:italic)
-else
-  call srcery#helper#Highlight('htmlBold', s:bright_white, s:black, s:bold)
-  call srcery#helper#Highlight('htmlBoldUnderline', s:bright_white, s:black, s:bold . s:underline)
-  call srcery#helper#Highlight('htmlBoldItalic', s:bright_white, s:black, s:bold . s:italic)
-  call srcery#helper#Highlight('htmlBoldUnderlineItalic', s:bright_white, s:black, s:bold . s:underline . s:italic)
-  call srcery#helper#Highlight('htmlUnderline', s:bright_white, s:black, s:underline)
-  call srcery#helper#Highlight('htmlUnderlineItalic', s:bright_white, s:black, s:underline . s:italic)
-  call srcery#helper#Highlight('htmlItalic', s:bright_white, s:black, s:italic)
-endif
+call srcery#helper#Highlight('htmlBold', s:bright_white, g:srcery_bg, s:bold)
+call srcery#helper#Highlight('htmlBoldUnderline', s:bright_white, g:srcery_bg, s:bold . s:underline)
+call srcery#helper#Highlight('htmlBoldItalic', s:bright_white, g:srcery_bg, s:bold . s:italic)
+call srcery#helper#Highlight('htmlBoldUnderlineItalic', s:bright_white, g:srcery_bg, s:bold . s:underline . s:italic)
+call srcery#helper#Highlight('htmlUnderline', s:bright_white, g:srcery_bg, s:underline)
+call srcery#helper#Highlight('htmlUnderlineItalic', s:bright_white, g:srcery_bg, s:underline . s:italic)
+call srcery#helper#Highlight('htmlItalic', s:bright_white, g:srcery_bg, s:italic)
 
 " }}}