summaryrefslogtreecommitdiff
path: root/lua/config/lsp.lua
diff options
context:
space:
mode:
authorRaymaekers Luca <luca@spacehb.net>2025-03-17 15:43:07 +0100
committerRaymaekers Luca <luca@spacehb.net>2025-03-17 15:43:32 +0100
commit4e31578c1e4b9e989cec824e3e832ac2aa66efcd (patch)
treec7d3851efcb6c31953b6af2cce102ae315f4cfb4 /lua/config/lsp.lua
parent53f6e19f84ba06bbf143339deba84bc51cd6706e (diff)
checkpoint
Diffstat (limited to 'lua/config/lsp.lua')
-rw-r--r--lua/config/lsp.lua12
1 files changed, 7 insertions, 5 deletions
diff --git a/lua/config/lsp.lua b/lua/config/lsp.lua
index 49f415f..10235bf 100644
--- a/lua/config/lsp.lua
+++ b/lua/config/lsp.lua
@@ -143,14 +143,16 @@ ls.add_snippets("c", {
parse_snippet(
"uints",
[[#include <stdint.h>
-typedef uint8_t u8;
+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 int8_t i8;
+typedef int16_t i16;
+typedef int32_t i32;
+typedef int64_t i64;
+typedef float f32;
+typedef double f64;
]]
),
})