diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-11-02 22:31:11 +0100 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-11-02 22:31:11 +0100 |
commit | 68b90b79f06a0fa09866f35e84e4c72405ac547d (patch) | |
tree | 564e1b34d2f5e3131d862120784978f162a0adb3 | |
parent | f2254f8ff19bc4268ed70245926f800342bbac40 (diff) |
checkpoint
-rw-r--r-- | after/plugin/luasnip.lua | 6 |
1 files 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 <stdint.h> +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);") }) |