mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 04:10:06 -04:00
fix(ruby): indent of brackets & parens
This commit is contained in:
parent
65a1817ba3
commit
48d88ddbff
4 changed files with 16 additions and 2 deletions
5
tests/indent/ruby/indent-brackets.rb
Normal file
5
tests/indent/ruby/indent-brackets.rb
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
def indent_brackets
|
||||
{
|
||||
{}
|
||||
}
|
||||
end
|
||||
5
tests/indent/ruby/indent-parens.rb
Normal file
5
tests/indent/ruby/indent-parens.rb
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
def indent_parens
|
||||
(
|
||||
()
|
||||
)
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue