nvim: custom injections
This commit is contained in:
parent
8a537d0c12
commit
68c1a1cb17
2 changed files with 9 additions and 0 deletions
8
home/config/nvim/after/queries/elixir/injections.scm
Normal file
8
home/config/nvim/after/queries/elixir/injections.scm
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
; extends
|
||||||
|
|
||||||
|
; LUA
|
||||||
|
(sigil
|
||||||
|
(sigil_name) @_sigil_name
|
||||||
|
(quoted_content) @injection.content
|
||||||
|
(#eq? @_sigil_name "LUA")
|
||||||
|
(#set! injection.language "lua"))
|
|
@ -37,6 +37,7 @@
|
||||||
:ruby
|
:ruby
|
||||||
:scss
|
:scss
|
||||||
:sql
|
:sql
|
||||||
|
:styled
|
||||||
:svelte
|
:svelte
|
||||||
:toml
|
:toml
|
||||||
:tsx
|
:tsx
|
||||||
|
|
Loading…
Reference in a new issue