Skip to content

Commit 0480f2f

Browse files
committed
feat: Add support for svelte and vue
(Also document React)
1 parent 72ce788 commit 0480f2f

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ the language you're editing.
2525
[vim-debugstring](https://github.com/bergercookie/vim-debugstring); updated for
2626
the NeoVim generation. It:
2727

28-
* Supports 35 filetypes/programming languages out-of-the-box, including
28+
* Supports 38 filetypes/programming languages out-of-the-box, including
2929
Python, JavaScript/TypeScript, Java, C/C++ and
3030
[more](#feature-comparison-with-similar-plugins). [It can also be extended to
3131
support other languages or customize existing ones](SHOWCASE.md).
@@ -261,11 +261,14 @@ they are used to convert sections to ROT-13, which most folks don't use.
261261
| Powershell/ps1 | :+1: | :x: | :x: | :x: | :x: | :x: | :x: |
262262
| Python | :+1: | :x: | :+1: | :+1: | :+1: | :+1: | :x: |
263263
| R | :+1: | :x: | :x: | :x: | :x: | :x: | :x: |
264+
| React | :+1: | :x: | :+1: | :x: | :x: | :x: | :x: |
264265
| Ruby | :+1: | :+1: | :+1: | :x: | :+1: | :x: | :x: |
265266
| Rust | :+1: | :+1: | :+1: | :+1: | :x: | :+1: | :x: |
266267
| Swift | :+1: | :x: | :x: | :x: | :x: | :x: | :x: |
268+
| Svelte | :+1: | :x: | :+1: | :x: | :x: | :x: | :x: |
267269
| tcl | :+1: | :x: | :x: | :x: | :x: | :x: | :x: |
268270
| VimL (vimscript) | :+1: | :x: | :x: | :+1: | :x: | :+1: | :x: |
271+
| Vue | :+1: | :x: | :+1: | :x: | :x: | :x: | :x: |
269272
| Zig | :+1: | :x: | :x: | :x: | :x: | :x: | :x: |
270273
| zsh | :+1: | :x: | :+1: | :+1: | :x: | :+1: | :x: |
271274
| [Add custom filetypes](SHOWCASE.md) | :+1: | :+1: | :+1: | :+1: | :x: | :x: | :+1: |

lua/debugprint/filetypes.lua

+2
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ return {
251251
mid_var = "\\(",
252252
right_var = ')")',
253253
},
254+
["svelte"] = js,
254255
["tcl"] = {
255256
left = 'puts "',
256257
right = '"',
@@ -265,6 +266,7 @@ return {
265266
mid_var = '" .. ',
266267
right_var = "",
267268
},
269+
["vue"] = js,
268270
["zig"] = {
269271
left = 'std.debug.print("',
270272
right = '\\n", .{});',

0 commit comments

Comments
 (0)