From e1d1609968b663cfd6f755bd17c2100ec830c364 Mon Sep 17 00:00:00 2001 From: Riyyi Date: Mon, 31 Jan 2022 21:41:50 +0100 Subject: [PATCH] Emacs: Update c++ snippets --- .config/emacs/snippets/c++-mode/class | 4 ++-- .config/emacs/snippets/c++-mode/namespace | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.config/emacs/snippets/c++-mode/class b/.config/emacs/snippets/c++-mode/class index d510fcb..b357fd6 100644 --- a/.config/emacs/snippets/c++-mode/class +++ b/.config/emacs/snippets/c++-mode/class @@ -4,6 +4,6 @@ # -- class ${1:Name} { public: - ${1:$(yas-c++-class-name yas-text)}(); - ${2:virtual ~${1:$(yas-c++-class-name yas-text)}();}$0 + ${1:$(yas-c++-class-name yas-text)}(); + ${2:virtual ~${1:$(yas-c++-class-name yas-text)}();}$0 }; \ No newline at end of file diff --git a/.config/emacs/snippets/c++-mode/namespace b/.config/emacs/snippets/c++-mode/namespace index 8c08adc..44cd8c7 100644 --- a/.config/emacs/snippets/c++-mode/namespace +++ b/.config/emacs/snippets/c++-mode/namespace @@ -6,4 +6,4 @@ namespace ${1:Namespace} { $0 -} \ No newline at end of file +} // namespace $1