mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-12 16:30:02 -04:00
feat: robots.txt support
This commit is contained in:
parent
533da572ae
commit
acea74c514
4 changed files with 20 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue