Files
git/t/t4018/r-indent-nested
Rodrigo Carvalho 1d9526df8d userdiff: add support for R programming language
Add userdiff patterns to support R programming language.

Also, add three userdiff tests for R programming language
files. These files define simple function and nested function,
with and without indentation.

Signed-off-by: Rodrigo Carvalho <rodrigorsdc@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2025-05-29 15:29:37 -07:00

11 lines
183 B
Plaintext

LEFT = function(a, b) {
c = mean(a, b)
RIGHT = function(d, e) {
f = var(d, e)
g = f + 1
ChangeMe()
return (g)
}
return (RIGHT(2, 3))
}