summaryrefslogtreecommitdiff
path: root/lua/config/lsp.lua
diff options
context:
space:
mode:
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;
]]
),
})