diff --git a/.config/emacs/snippets/c++-mode/.yas-parents b/.config/emacs/snippets/c++-mode/.yas-parents new file mode 100644 index 0000000..ce9828b --- /dev/null +++ b/.config/emacs/snippets/c++-mode/.yas-parents @@ -0,0 +1 @@ +cc-mode diff --git a/.config/emacs/snippets/cc-mode/license-notice b/.config/emacs/snippets/cc-mode/license-notice new file mode 100644 index 0000000..b0e02f9 --- /dev/null +++ b/.config/emacs/snippets/cc-mode/license-notice @@ -0,0 +1,21 @@ +# -*- mode: snippet -*- +# name: license-notice +# key: ln +# -- +/* + * Copyright (C) `(format-time-string "%Y")` ${1:Author} ${2:} + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +$0 \ No newline at end of file