Some more C configuration stuff
This commit is contained in:
@@ -6,3 +6,9 @@ InlayHints:
|
||||
DeducedTypes: true
|
||||
DefaultArguments: true
|
||||
TypeNameLimit: 24
|
||||
Diagnostics:
|
||||
Suppress: "*"
|
||||
Index:
|
||||
StandardLibrary: false
|
||||
CompileFlags:
|
||||
Add: [-x, c]
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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))
|
||||
|
||||
10
.config/nvim/snippets/c.json
Normal file
10
.config/nvim/snippets/c.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"ccase": {
|
||||
"body": [
|
||||
"case $0: {",
|
||||
"",
|
||||
"}break;"
|
||||
],
|
||||
"prefix": "ccase"
|
||||
}
|
||||
}
|
||||
@@ -22,6 +22,12 @@
|
||||
"go"
|
||||
],
|
||||
"path": "./eko-go.json"
|
||||
},
|
||||
{
|
||||
"language": [
|
||||
"c"
|
||||
],
|
||||
"path": "./c.json"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user