summaryrefslogtreecommitdiff
path: root/.config/nvim/snippets/c.json
blob: abed0f221343149f0d141df0e2acf9db696850d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
	"header_guard": {
		"prefix": "header_guard",
		"body": [
			"#ifndef _$1_H_",
			"#define _$1_H_",
			"$0",
			"#endif"
		]
	},
	"function": {
		"prefix": "function",
		"body": [
			"$1 $2($3) {",
			"	$0",
			"}"
		],
	}
}