|
274 | 274 | }, |
275 | 275 | "puts": { |
276 | 276 | "prefix": "puts", |
277 | | - "body": ["puts(\"${1:This function doesn't need newline.}\")$0"], |
| 277 | + "body": ["puts(\"${1:This function doesn't need newline.}\");$0"], |
278 | 278 | "description": "puts() snippet" |
279 | 279 | }, |
280 | 280 | "fputs": { |
281 | 281 | "prefix": "fputs", |
282 | | - "body": ["fputs(\"${2:This is a simpler printf.\\n}\", ${1:stdout})$0"], |
| 282 | + "body": ["fputs(\"${2:This is a simpler printf.\\n}\", ${1:stdout});$0"], |
283 | 283 | "description": "puts() snippet" |
284 | 284 | }, |
285 | 285 | "printf": { |
286 | 286 | "prefix": "printf", |
287 | | - "body": ["printf(\"${1:%s}\\n\"$2)$0"], |
| 287 | + "body": ["printf(\"${1:%s}\\n\"$2);$0"], |
288 | 288 | "description": "printf() snippet" |
289 | 289 | }, |
290 | 290 | "fprintf": { |
291 | 291 | "prefix": "fprintf", |
292 | | - "body": ["fprintf(${1:stderr}, \"${2:%s}\\n\"$3)$0"], |
| 292 | + "body": ["fprintf(${1:stderr}, \"${2:%s}\\n\"$3);$0"], |
293 | 293 | "description": "fprintf() snippet" |
294 | 294 | }, |
295 | 295 | "sprintf": { |
296 | 296 | "prefix": "sprintf", |
297 | | - "body": ["sprintf(${1:buf}, \"${2:%s}\\n\"$3)$0"], |
| 297 | + "body": ["sprintf(${1:buf}, \"${2:%s}\\n\"$3);$0"], |
298 | 298 | "description": "sprintf() snippet" |
299 | 299 | }, |
300 | 300 | "snprintf": { |
301 | 301 | "prefix": "snprintf", |
302 | | - "body": ["snprintf(${1:buf}, ${2:max}, \"${3:%s}\\n\"$3)$0"], |
| 302 | + "body": ["snprintf(${1:buf}, ${2:max}, \"${3:%s}\\n\"$3);$0"], |
303 | 303 | "description": "snprintf() snippet" |
304 | 304 | }, |
305 | 305 | "scanf": { |
306 | 306 | "prefix": "scanf", |
307 | | - "body": ["scanf(\"${1:%d}\"$2)$0"], |
| 307 | + "body": ["scanf(\"${1:%d}\"$2);$0"], |
308 | 308 | "description": "scanf() snippet" |
309 | 309 | }, |
310 | 310 | "fscanf": { |
311 | 311 | "prefix": "fscanf", |
312 | | - "body": ["fscanf(${1:stdin}, \"${2:%d}\"$3)$0"], |
| 312 | + "body": ["fscanf(${1:stdin}, \"${2:%d}\"$3);$0"], |
313 | 313 | "description": "fscanf() snippet" |
314 | 314 | }, |
315 | 315 | "sscanf": { |
316 | 316 | "prefix": "sscanf", |
317 | | - "body": ["sscanf(${1:buf}, \"${2:%d}\"$3)$0"], |
| 317 | + "body": ["sscanf(${1:buf}, \"${2:%d}\"$3);$0"], |
318 | 318 | "description": "sscanf() snippet" |
319 | 319 | }, |
320 | 320 | "malloc": { |
321 | 321 | "prefix": "malloc", |
322 | | - "body": ["malloc(sizeof(${1:int[69]})$2)$0"], |
| 322 | + "body": ["malloc(sizeof(${1:int[69]})$2);$0"], |
323 | 323 | "description": "malloc() snippet" |
324 | 324 | }, |
325 | 325 | "calloc": { |
326 | 326 | "prefix": "calloc", |
327 | | - "body": ["calloc(${1:1}, sizeof(${2:int})$3)$0"], |
| 327 | + "body": ["calloc(${1:1}, sizeof(${2:int})$3);$0"], |
328 | 328 | "description": "calloc() snippet" |
329 | 329 | }, |
330 | 330 | "realloc": { |
331 | 331 | "prefix": "realloc", |
332 | | - "body": ["realloc(${1:ptr}, sizeof(${2:int[69]})$3)$0"], |
| 332 | + "body": ["realloc(${1:ptr}, sizeof(${2:int[69]})$3);$0"], |
333 | 333 | "description": "realloc() snippet" |
334 | 334 | }, |
335 | 335 | "reallocarray": { |
336 | 336 | "prefix": "reallocarray", |
337 | | - "body": ["reallocarray(${1:ptr}, ${2:69}, sizeof(${3:int})$4)$0"], |
| 337 | + "body": ["reallocarray(${1:ptr}, ${2:69}, sizeof(${3:int})$4);$0"], |
338 | 338 | "description": "reallocarray() snippet" |
339 | 339 | }, |
340 | 340 | "free": { |
|
0 commit comments