mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 11:20:07 -04:00
feat(ruby): detect shebang directive
This commit is contained in:
parent
b9002f6fe6
commit
cad9ff2fbc
1 changed files with 5 additions and 0 deletions
|
|
@ -211,6 +211,11 @@
|
||||||
|
|
||||||
(comment) @comment @spell
|
(comment) @comment @spell
|
||||||
|
|
||||||
|
((program
|
||||||
|
.
|
||||||
|
(comment) @keyword.directive @nospell)
|
||||||
|
(#lua-match? @keyword.directive "^#!/"))
|
||||||
|
|
||||||
(program
|
(program
|
||||||
(comment)+ @comment.documentation
|
(comment)+ @comment.documentation
|
||||||
(class))
|
(class))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue