Skip to content

Commit 8183126

Browse files
committed
snippet(c++): class11: remove invalid yasnippet fields
'desc:' is an invalid yasnippet field, and its contents in this snippet cause warnings.
1 parent 07b3bda commit 8183126

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

c++-mode/class11

-12
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,8 @@
11
# -*- mode: snippet -*-
22
# name: class11
33
# key: cls11
4-
# group: c++11
54
# uuid: d7c41f87-9b8a-479d-bb12-89f4cbdd46a7
65
# contributor: Ved Vyas
7-
# desc: Snippet for C++11 classes based on c++-mode/class. Allows for Rule of
8-
# [0, All]. A choice between ";", " = default;", and " = delete;" is presented
9-
# for each method. The methods and some of the optional keywords/specifiers are
10-
# exposed as fields that users can easily skip-and-clear.
11-
# Hackish query-replace-regexp to renumber non-mirror fields in the region
12-
# between public and protected (can use N as a field number in the snippet):
13-
# \${[0-9N]*:\([^\$]\) -> ${\,(+ 2 \#):\1
14-
# References:
15-
# 1. http://en.cppreference.com/w/cpp/language/rule_of_three#Rule_of_five
16-
# 2. https://en.wikipedia.org/wiki/Rule_of_three_%28C%2B%2B_programming%29#Example_in_C.2B.2B
17-
# 3. http://stackoverflow.com/a/4782927
186
# --
197
class ${1:Name}
208
{

0 commit comments

Comments
 (0)