mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 19:30:02 -04:00
feat: add Squirrel
This commit is contained in:
parent
ba4bce9bb7
commit
71be7c04d5
8 changed files with 480 additions and 0 deletions
9
queries/squirrel/injections.scm
Normal file
9
queries/squirrel/injections.scm
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
(comment) @comment
|
||||
|
||||
((verbatim_string) @html
|
||||
(#lua-match? @html "^@\"<html")
|
||||
(#offset! @html 0 2 0 -1))
|
||||
|
||||
((verbatim_string) @html
|
||||
(#lua-match? @html "@\"<!DOCTYPE html>")
|
||||
(#offset! @html 0 2 0 -1))
|
||||
Loading…
Add table
Add a link
Reference in a new issue