mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-13 17:00:09 -04:00
indents(r): add tests
This commit is contained in:
parent
807b20d0de
commit
995f462898
5 changed files with 50 additions and 0 deletions
12
tests/indent/r/func.R
Normal file
12
tests/indent/r/func.R
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
foo <- function(x) {
|
||||
bar <- function(a, b, c) {
|
||||
return(a + b + c)
|
||||
}
|
||||
return(
|
||||
bar(
|
||||
x,
|
||||
1,
|
||||
2
|
||||
)
|
||||
)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue