Update c/c++ header file templates
This commit is contained in:
parent
484d5500fc
commit
0928babaa0
2 changed files with 10 additions and 0 deletions
10
private/templates/c-mode/__h
Normal file
10
private/templates/c-mode/__h
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
|
# group: file templates
|
||||||
|
# contributor: Henrik Lissner
|
||||||
|
# --
|
||||||
|
#ifndef ${1:__`(upcase (f-base buffer-file-name))`_H_$(upcase yas-text)}
|
||||||
|
#define $1
|
||||||
|
|
||||||
|
$0
|
||||||
|
|
||||||
|
#endif // $1
|
Loading…
Add table
Add a link
Reference in a new issue