Skip to content

Commit 424d367

Browse files
authored
feat: Add support for Zig
1 parent dcd6bb1 commit 424d367

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,7 @@ If it helps to understand these, you can look at the built-in configurations in
309309
| Rust | :+1: | :+1: | :+1: | :x: | :+1: | :x: |
310310
| Swift | :+1: | :x: | :x: | :x: | :x: | :x: |
311311
| VimL (vimscript) | :+1: | :x: | :+1: | :x: | :+1: | :x: |
312+
| Zig | :+1: | :x: | :x: | :x: | :x: | :x: |
312313
| zsh | :+1: | :x: | :+1: | :x: | :+1: | :x: |
313314
| Add custom filetypes (doced/supported) | :+1: | :+1: | :+1: | :x: | :x: | :+1: |
314315
| Customizable callback formatter | :x: | :x: | :+1: | :x: | :x: | :x: |

lua/debugprint/filetypes.lua

+6
Original file line numberDiff line numberDiff line change
@@ -247,5 +247,11 @@ return {
247247
mid_var = '" .. ',
248248
right_var = "",
249249
},
250+
["zig"] = {
251+
left = 'std.debug.print("',
252+
right = '", .{});',
253+
mid_var = '{any}", .{',
254+
right_var = '});',
255+
},
250256
["zsh"] = shell,
251257
}

0 commit comments

Comments
 (0)