mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 11:06:54 -04:00
feat(ruby): add injection for debugger command strings (#7480)
This commit is contained in:
parent
34d78baa86
commit
a295ba13d2
2 changed files with 23 additions and 0 deletions
11
tests/query/injections/ruby/test-ruby-debugger.rb
Normal file
11
tests/query/injections/ruby/test-ruby-debugger.rb
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
binding.b(do: "puts 'Hello, world!'")
|
||||
# ^ @ruby
|
||||
|
||||
binding.b(pre: "pp [1, 2, 3]")
|
||||
# ^ @ruby
|
||||
|
||||
binding.break(do: "puts 'Hello, world!'")
|
||||
# ^ @ruby
|
||||
|
||||
binding.break(pre: "pp [1, 2, 3]")
|
||||
# ^ @ruby
|
||||
Loading…
Add table
Add a link
Reference in a new issue