mirror of
https://github.com/nvim-treesitter/nvim-treesitter
synced 2024-09-16 14:34:05 +02:00
feat: robots.txt support
This commit is contained in:
parent
533da572ae
commit
acea74c514
4 changed files with 20 additions and 0 deletions
|
@ -608,6 +608,9 @@
|
|||
"robot": {
|
||||
"revision": "322e4cc65754d2b3fdef4f2f8a71e0762e3d13af"
|
||||
},
|
||||
"robots": {
|
||||
"revision": "8e3a4205b76236bb6dbebdbee5afc262ce38bb62"
|
||||
},
|
||||
"roc": {
|
||||
"revision": "6ea64b6434a45472bd87b0772fd84a017de0a557"
|
||||
},
|
||||
|
|
|
@ -1780,6 +1780,14 @@ list.robot = {
|
|||
maintainers = { "@Hubro" },
|
||||
}
|
||||
|
||||
list.robots = {
|
||||
install_info = {
|
||||
url = "https://github.com/opa-oz/tree-sitter-robots-txt",
|
||||
files = { "src/parser.c", "src/scanner.c" },
|
||||
},
|
||||
maintainers = { "@opa-oz" },
|
||||
}
|
||||
|
||||
list.roc = {
|
||||
install_info = {
|
||||
url = "https://github.com/faldor20/tree-sitter-roc",
|
||||
|
|
7
queries/robots/highlights.scm
Normal file
7
queries/robots/highlights.scm
Normal file
|
@ -0,0 +1,7 @@
|
|||
(comment) @comment @spell
|
||||
|
||||
(directive) @property
|
||||
|
||||
(value) @string
|
||||
|
||||
":" @punctuation.delimiter
|
2
queries/robots/injections.scm
Normal file
2
queries/robots/injections.scm
Normal file
|
@ -0,0 +1,2 @@
|
|||
((comment) @injection.content
|
||||
(#set! injection.language "comment"))
|
Loading…
Reference in a new issue