feat: Add zed & awesomeWM config

This commit is contained in:
js0ny 2025-01-25 21:02:00 +00:00
parent cb501820b7
commit 346a975e80
12 changed files with 843 additions and 35 deletions

28
tools/zed/snippets/c.json Executable file
View file

@ -0,0 +1,28 @@
{
"main": {
"prefix": "main",
"body": [
"int main() {",
" $1",
" return 0;",
"}"
],
"description": "Main function with no arguments"
},
"mainn": {
"prefix": "mainn",
"body": [
"",
"int main(int argc, char *argv[]) {",
" $1",
" return 0;",
"}"
],
"description": "Main function with arguments"
},
"once": {
"prefix": "#once",
"body": ["#ifndef $1", "#define $1", "", "$2", "", "#endif"],
"description": "Include guard"
}
}