mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-12-16 10:24:18 +00:00
Keep snippet vars definitions in a single format across all snippets and documentation.
The format is: # var-name: value Previously snippets used a mixture of the following formatting: #var-name: value #var-name : value # var-name: value # var-name : value
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#name : v.begin(), v.end()
|
||||
# name: v.begin(), v.end()
|
||||
# key: beginend
|
||||
# --
|
||||
${1:v}.begin(), $1.end
|
||||
@@ -1,4 +1,4 @@
|
||||
#name : class ... { ... }
|
||||
# name: class ... { ... }
|
||||
# key: class
|
||||
# --
|
||||
class ${1:Name}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#name : namespace ...
|
||||
# name: namespace ...
|
||||
# key: ns
|
||||
# --
|
||||
namespace
|
||||
@@ -1,4 +1,4 @@
|
||||
#name : template <typename ...>
|
||||
# name: template <typename ...>
|
||||
# key: template
|
||||
# --
|
||||
template <typename ${T}>
|
||||
@@ -1,4 +1,4 @@
|
||||
#name : using namespace ...
|
||||
# name: using namespace ...
|
||||
# key: using
|
||||
# --
|
||||
using namespace ${std};
|
||||
|
||||
Reference in New Issue
Block a user