- Implemented commented placeholder.

This commit is contained in:
Shougo Matsushita
2012-10-30 05:09:50 +09:00
parent c1cfe686ad
commit 9e96a69061
3 changed files with 29 additions and 9 deletions

View File

@@ -361,6 +361,16 @@ Placeholder feature is available. The string after ":" is default value.
${2}
endif
<
Commented placeholder feature is available. If the default value starts with
"#:", neosnippet will the delete default value when jump to next placeholder.
>
snippet if
abbr if endif
options head
if ${1:#:condition}
${2}
endif
<
Note: To contain "}" character in default value, you must escape "}".
>
snippet test
@@ -454,6 +464,9 @@ snippet *neosnippet-unite-action-snippet*
==============================================================================
CHANGELOG *neosnippet-changelog*
2012-10-30
- Implemented commented placeholder.
2012-10-29
- Improved parse of snippets file.
- Improved syntax of markers.