Run scripts/build with changes

This commit is contained in:
Nick White
2024-07-24 14:11:07 -07:00
parent be4b94a788
commit ccddddd81e
206 changed files with 3989 additions and 2763 deletions

View File

@@ -81,9 +81,6 @@ endfunction
" syntax. It defines group htmlJavaScript and htmlCss.
call s:LoadSyntax('@HTMLSyntax', 'html')
" Load svelte-html syntax
syntax include syntax/svelte-html.vim
" Avoid overload
if !hlexists('cssTagName')
call s:LoadSyntax('@htmlCss', 'css')
@@ -129,6 +126,14 @@ if s:use_typescript
endif
"}}}
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
"
" Load Svelte specific html syntax {{{
"
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
syntax include syntax/svelte-html.vim
"}}}
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
"
" Syntax highlight {{{
@@ -143,8 +148,9 @@ syntax region htmlSvelteTemplate fold
" Start tag across multiple lines or Empty tag across multiple lines
syntax region htmlSvelteTemplate fold
\ start=+<[-:a-zA-Z0-9]\+[^>]*$+
\ end=+^\(<\/[-:a-zA-Z0-9]\+>\)\|^\([^<]*\/>\)+
\ end=+^\(<\/[-:a-zA-Z0-9]\+>\|\(\S[^<]*\)\?\/>\)+
\ keepend contains=@HTMLSyntax
" Tag in one line
syntax match htmlSvelteTemplate fold
\ +<[-:a-zA-Z0-9]\+[^>]*>.*</[-:a-zA-Z0-9]\+>+
@@ -284,5 +290,6 @@ syntax region typescriptTemplate
syntax match htmlArg '\v<data(-[.a-z0-9]+)+>' containedin=@HTMLSyntax
"}}}
syntax sync fromstart
let b:current_syntax = 'svelte'
" vim: fdm=marker