From 68b90b79f06a0fa09866f35e84e4c72405ac547d Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Sat, 2 Nov 2024 22:31:11 +0100 Subject: checkpoint --- after/plugin/luasnip.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/after/plugin/luasnip.lua b/after/plugin/luasnip.lua index 3f8c9e8..4b88ca9 100644 --- a/after/plugin/luasnip.lua +++ b/after/plugin/luasnip.lua @@ -47,14 +47,16 @@ ls.add_snippets("c", { parse_snippet("main", "int main(void) {\n\t$0\n\treturn 0;\n}"), parse_snippet( "uints", - [[typedef uint8_t u8; + [[#include +typedef uint8_t u8; typedef uint16_t u16; typedef uint32_t u32; typedef uint64_t u64; typedef int8_t s8; typedef int16_t s16; typedef int32_t s32; -typedef int64_t s64;]] +typedef int64_t s64; +]] ), }) ls.add_snippets("typescript", { parse_snippet("cl", "console.log($0);") }) -- cgit v1.2.3