Skip to content

Commit 5501c0d

Browse files
author
Andrew Ferrier
committed
feat: Add support for shell
1 parent 1f61a1b commit 5501c0d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

lua/debugprint/filetypes.lua

+10
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1+
local shell = {
2+
left = 'echo "',
3+
right = '"',
4+
mid_var = "${",
5+
right_var = '}"',
6+
}
7+
18
return {
9+
["bash"] = shell,
210
["lua"] = {
311
left = "print('",
412
right = "')",
@@ -11,10 +19,12 @@ return {
1119
mid_var = '"$(',
1220
right_var = ")",
1321
},
22+
["sh"] = shell,
1423
["vim"] = {
1524
left = 'echo "',
1625
right = '"',
1726
mid_var = '" .. ',
1827
right_var = "",
1928
},
29+
["zsh"] = shell,
2030
}

0 commit comments

Comments
 (0)