Skip to content

Commit

Permalink
fix: move javaScript hl to html syntax
Browse files Browse the repository at this point in the history
Its the html plugin that defines it, so this is a more correct
placement. I considered a rebase, but got to messy, this commit leaves a
clean history
  • Loading branch information
roosta committed Aug 23, 2023
1 parent 9247ad2 commit 5c52e23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions after/syntax/html.vim
Expand Up @@ -22,6 +22,8 @@ hi! link htmlScriptTag SrceryRed
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
Expand Down
1 change: 0 additions & 1 deletion after/syntax/javascript.vim
Expand Up @@ -4,7 +4,6 @@ endif

" JavaScript: {{{

hi! link javaScript Normal
hi! link javaScriptMember SrceryBlue
hi! link javaScriptNull SrceryMagenta
hi! link javasCriptParens SrceryWhite
Expand Down

0 comments on commit 5c52e23

Please sign in to comment.