mirror of
https://github.com/kristoferssolo/SoloVim.git
synced 2026-02-04 06:42:05 +00:00
Update 24.01.2024
This commit is contained in:
4
queries/lua/highlights.scm
Normal file
4
queries/lua/highlights.scm
Normal file
@@ -0,0 +1,4 @@
|
||||
;; extends
|
||||
|
||||
((identifier) @namespace.builtin
|
||||
(#eq? @namespace.builtin "vim"))
|
||||
8
queries/rust/injections.scm
Normal file
8
queries/rust/injections.scm
Normal file
@@ -0,0 +1,8 @@
|
||||
; Inject into sqlx::query!(r#"..."#, ...) as sql
|
||||
(macro_invocation
|
||||
(scoped_identifier
|
||||
path: (identifier) @_path (#eq? @_path "sqlx"))
|
||||
|
||||
(token_tree
|
||||
(raw_string_literal) @sql)
|
||||
(#offset! @sql 1 0 0 0))
|
||||
Reference in New Issue
Block a user