mirror of
https://github.com/kristoferssolo/SoloVim.git
synced 2025-10-21 20:10:41 +00:00
Update 2025-06-23
This commit is contained in:
parent
0640243c30
commit
a30b78acdb
@ -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)?")
|
(#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)
|
(#offset! @injection.content 0 1 0 -1)
|
||||||
(#set! injection.language "sql"))
|
(#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)
|
||||||
|
)
|
||||||
|
|||||||
@ -37,7 +37,6 @@ return {
|
|||||||
procMacro = {
|
procMacro = {
|
||||||
ignored = {
|
ignored = {
|
||||||
leptos_macro = {
|
leptos_macro = {
|
||||||
"component",
|
|
||||||
"server",
|
"server",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@ -22,7 +22,7 @@ return {
|
|||||||
git = { enabled = false },
|
git = { enabled = false },
|
||||||
gitbrowse = { enabled = true },
|
gitbrowse = { enabled = true },
|
||||||
image = {
|
image = {
|
||||||
enabled = true,
|
enabled = false,
|
||||||
doc = {
|
doc = {
|
||||||
inline = false,
|
inline = false,
|
||||||
float = true,
|
float = true,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user