Skip to content

Commit 89a791b

Browse files
committed
feat: Add 'R' support
1 parent e0b4d80 commit 89a791b

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ navigation and the ability to output variable values.
3131
* `php`
3232
* `ps1` (Powershell)
3333
* `python`
34+
* `r`
3435
* `ruby`
3536
* `rust`
3637
* `sh` (Sh/Bash)
@@ -299,6 +300,7 @@ If it helps to understand these, you can look at the built-in configurations in
299300
| PHP | :+1: | :+1: | :x: | :+1: | :x: | :x: | :x: |
300301
| Powershell/ps1 | :+1: | :x: | :x: | :x: | :x: | :x: | :x: |
301302
| Python | :+1: | :+1: | :+1: | :+1: | :+1: | :x: | :x: |
303+
| R | :+1: | :x: | :x: | :x: | :x: | :x: | :x: |
302304
| Ruby | :+1: | :+1: | :x: | :+1: | :x: | :x: | :x: |
303305
| Rust | :+1: | :+1: | :+1: | :x: | :+1: | :x: | :x: |
304306
| Swift | :+1: | :x: | :x: | :x: | :x: | :x: | :x: |

lua/debugprint/filetypes.lua

+6
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,12 @@ return {
124124
mid_var = "{",
125125
right_var = '}")',
126126
},
127+
["r"] = {
128+
left = 'cat(paste("',
129+
right = '"), file=stderr())',
130+
mid_var = '", ',
131+
right_var = "), file=stderr())",
132+
},
127133
["ruby"] = {
128134
left = 'STDERR.puts "',
129135
right = '"',

0 commit comments

Comments
 (0)