Skip to content

Commit f1fda1c

Browse files
committed
feat: Add perl support
1 parent 5fce62a commit f1fda1c

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ navigation and the ability to output variable values.
2323
* `javascript`
2424
* `lua`
2525
* `make`
26+
* `perl`
2627
* `php`
2728
* `ps1` (Powershell)
2829
* `python`
@@ -290,7 +291,7 @@ If it helps to understand these, you can look at the built-in configurations in
290291
| Kotlin | :+1: | :x: | :x: | :x: | :x: | :x: | :x: |
291292
| lua | :+1: | :+1: | :+1: | :+1: | :+1: | :x: | :+1: |
292293
| GNU Make | :+1: | :+1: | :x: | :x: | :x: | :x: | :x: |
293-
| Perl | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
294+
| Perl | :+1: | :x: | :x: | :x: | :x: | :x: | :x: |
294295
| PHP | :+1: | :+1: | :x: | :+1: | :x: | :x: | :x: |
295296
| Powershell/ps1 | :+1: | :x: | :x: | :x: | :x: | :x: | :x: |
296297
| Python | :+1: | :+1: | :+1: | :+1: | :+1: | :x: | :x: |

lua/debugprint/filetypes.lua

+6
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,12 @@ return {
8686
mid_var = '"$(',
8787
right_var = ")",
8888
},
89+
["perl"] = {
90+
left = 'print STDERR "',
91+
right = '\\n";',
92+
mid_var = "$",
93+
right_var = '\\n";',
94+
},
8995
["php"] = {
9096
left = 'fwrite(STDERR, "',
9197
right = '\\n");',

0 commit comments

Comments
 (0)