fix: snippet parser should not output '$'

This commit is contained in:
CJ van den Berg 2025-12-08 21:24:02 +01:00
parent 075ec84cf0
commit 3da09cac55
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -44,7 +44,6 @@ pub fn parse(allocator: std.mem.Allocator, snippet: []const u8) Error!Snippet {
}, },
'$' => { '$' => {
state = .tabstop; state = .tabstop;
try text.writer.writeByte(c);
}, },
else => try text.writer.writeByte(c), else => try text.writer.writeByte(c),
}, },