Update 2025-06-23

This commit is contained in:
Kristofers Solo 2025-06-23 00:06:54 +03:00
parent 0640243c30
commit a30b78acdb
Signed by: kristoferssolo
GPG Key ID: 8687F2D3EEE6F0ED
3 changed files with 12 additions and 2 deletions

View File

@ -7,3 +7,14 @@
(#match? @injection.content "(SELECT|select|INSERT|insert|UPDATE|update|DELETE|delete).+(FROM|from|INTO|into|VALUES|values|SET|set).*(WHERE|where|GROUP BY|group by)?")
(#offset! @injection.content 0 1 0 -1)
(#set! injection.language "sql"))
;; Inject HTML into view! macro blocks for leptos
(
(macro_invocation
macro: (identifier) @macro_name
(token_tree) @injecttion.content
)
(#eq? @macro_name "view")
(#set! injection.language "html")
(#set! injection.combined)
)

View File

@ -37,7 +37,6 @@ return {
procMacro = {
ignored = {
leptos_macro = {
"component",
"server",
},
},

View File

@ -22,7 +22,7 @@ return {
git = { enabled = false },
gitbrowse = { enabled = true },
image = {
enabled = true,
enabled = false,
doc = {
inline = false,
float = true,