mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 09:50:04 -04:00
feat: add astro
This commit is contained in:
parent
1031bb4769
commit
f62fb16bba
6 changed files with 19 additions and 0 deletions
|
|
@ -1005,6 +1005,15 @@ list.elvish = {
|
||||||
maintainers = { "@ckafi" },
|
maintainers = { "@ckafi" },
|
||||||
}
|
}
|
||||||
|
|
||||||
|
list.astro = {
|
||||||
|
install_info = {
|
||||||
|
url = "https://github.com/virchau13/tree-sitter-astro",
|
||||||
|
branch = "master",
|
||||||
|
files = { "src/parser.c", "src/scanner.cc" },
|
||||||
|
},
|
||||||
|
maintainers = { "@virchau13" },
|
||||||
|
}
|
||||||
|
|
||||||
local M = {
|
local M = {
|
||||||
list = list,
|
list = list,
|
||||||
filetype_to_parsername = filetype_to_parsername,
|
filetype_to_parsername = filetype_to_parsername,
|
||||||
|
|
|
||||||
1
queries/astro/folds.scm
Normal file
1
queries/astro/folds.scm
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
; inherits: html
|
||||||
3
queries/astro/highlights.scm
Normal file
3
queries/astro/highlights.scm
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
; inherits: html
|
||||||
|
|
||||||
|
[ "---" ] @punctuation.delimiter
|
||||||
1
queries/astro/indents.scm
Normal file
1
queries/astro/indents.scm
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
; inherits: html
|
||||||
4
queries/astro/injections.scm
Normal file
4
queries/astro/injections.scm
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
; inherits: html
|
||||||
|
|
||||||
|
((frontmatter
|
||||||
|
(raw_text) @typescript))
|
||||||
1
queries/astro/locals.scm
Normal file
1
queries/astro/locals.scm
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
; inherits: html
|
||||||
Loading…
Add table
Add a link
Reference in a new issue