Some more C configuration stuff

This commit is contained in:
2025-08-07 23:56:02 +03:00
parent 9088c3f577
commit f4f2bb6ab3
5 changed files with 24 additions and 2 deletions

View File

@@ -6,3 +6,9 @@ InlayHints:
DeducedTypes: true
DefaultArguments: true
TypeNameLimit: 24
Diagnostics:
Suppress: "*"
Index:
StandardLibrary: false
CompileFlags:
Add: [-x, c]

View File

@@ -62,7 +62,7 @@ return {
'clangd',
'--background-index',
'--clang-tidy',
'--header-insertion=iwyu',
'--header-insertion=never',
'--completion-style=detailed',
'--function-arg-placeholders=false',
'--fallback-style=none',

View File

@@ -5,6 +5,6 @@
"i8" "i16" "i32" "i64"
"f32" "f64"
"b8" "b32" "b64"
"rune" "usize" "isize"
"rune" "usize" "isize" "uptr" "iptr"
"true" "false" "null" "void")
(#set! "priority" 200))

View File

@@ -0,0 +1,10 @@
{
"ccase": {
"body": [
"case $0: {",
"",
"}break;"
],
"prefix": "ccase"
}
}

View File

@@ -22,6 +22,12 @@
"go"
],
"path": "./eko-go.json"
},
{
"language": [
"c"
],
"path": "./c.json"
}
]
},