Browse Source

Emacs: Update c++ snippets

master
Riyyi 3 years ago
parent
commit
e1d1609968
  1. 4
      .config/emacs/snippets/c++-mode/class
  2. 2
      .config/emacs/snippets/c++-mode/namespace

4
.config/emacs/snippets/c++-mode/class

@ -4,6 +4,6 @@
# -- # --
class ${1:Name} { class ${1:Name} {
public: public:
${1:$(yas-c++-class-name yas-text)}(); ${1:$(yas-c++-class-name yas-text)}();
${2:virtual ~${1:$(yas-c++-class-name yas-text)}();}$0 ${2:virtual ~${1:$(yas-c++-class-name yas-text)}();}$0
}; };

2
.config/emacs/snippets/c++-mode/namespace

@ -6,4 +6,4 @@ namespace ${1:Namespace} {
$0 $0
} } // namespace $1

Loading…
Cancel
Save