From b670a0430b45dccfe10bea5f7e8aa461f5b58bfa Mon Sep 17 00:00:00 2001 From: tastytea Date: Fri, 6 Mar 2020 04:46:47 +0100 Subject: [PATCH] Emacs: Update C++-templates. --- auto-insert/cpp | 4 +++- auto-insert/hpp | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/auto-insert/cpp b/auto-insert/cpp index 65add26..e4fec6d 100644 --- a/auto-insert/cpp +++ b/auto-insert/cpp @@ -2,5 +2,7 @@ namespace ${1:`(projectile-project-name)`} { + $0 -} // namespace $1 \ No newline at end of file + +} // namespace $1 diff --git a/auto-insert/hpp b/auto-insert/hpp index 8a32a9b..074dd8b 100644 --- a/auto-insert/hpp +++ b/auto-insert/hpp @@ -3,7 +3,9 @@ namespace ${2:`(projectile-project-name)`} { + $0 + } // namespace $2 #endif // $1