mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-04 12:30:01 -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
|
||||
|
||||
((program
|
||||
.
|
||||
(comment) @keyword.directive @nospell)
|
||||
(#lua-match? @keyword.directive "^#!/"))
|
||||
|
||||
(program
|
||||
(comment)+ @comment.documentation
|
||||
(class))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue