commit
536935d28a
@ -64,7 +64,7 @@ COMMANDS *neosnippet-commands*
|
|||||||
*:NeoSnippetMakeCache*
|
*:NeoSnippetMakeCache*
|
||||||
|
|
||||||
Creates a cache for the given [filetype] snippets. It
|
Creates a cache for the given [filetype] snippets. It
|
||||||
automatically choses the current buffer's file type unless you
|
automatically chooses the current buffer's file type unless you
|
||||||
specify one by [filetype].
|
specify one by [filetype].
|
||||||
|
|
||||||
*:NeoComplCacheCachingSnippets*
|
*:NeoComplCacheCachingSnippets*
|
||||||
@ -365,6 +365,7 @@ Example:
|
|||||||
snippet [name]
|
snippet [name]
|
||||||
abbr [abbreviation]
|
abbr [abbreviation]
|
||||||
alias [aliases]
|
alias [aliases]
|
||||||
|
regexp [pattern]
|
||||||
options [options]
|
options [options]
|
||||||
if ${1:condition}
|
if ${1:condition}
|
||||||
${2}
|
${2}
|
||||||
@ -407,7 +408,7 @@ Snippet Keywords:
|
|||||||
|
|
||||||
- options [options] (Optional)
|
- options [options] (Optional)
|
||||||
|
|
||||||
Options influece the snippet behavior. The possible options are:
|
Options influence the snippet behavior. The possible options are:
|
||||||
|
|
||||||
+ word This snippet expands by a word boundary. Note: To complete
|
+ word This snippet expands by a word boundary. Note: To complete
|
||||||
the trigger in snippets_complete, it must be word(digits or
|
the trigger in snippets_complete, it must be word(digits or
|
||||||
@ -442,7 +443,7 @@ The structure of a placeholder can be:
|
|||||||
- ${number:placeholder text}
|
- ${number:placeholder text}
|
||||||
|
|
||||||
Here the number of the placeholder and the placeholder text that are
|
Here the number of the placeholder and the placeholder text that are
|
||||||
seperated by a ":" are embraced by a pair of "{}". The text is displayed
|
separated by a ":" are embraced by a pair of "{}". The text is displayed
|
||||||
after the snippet expansion and gets replaced by your text. If you jump
|
after the snippet expansion and gets replaced by your text. If you jump
|
||||||
over the snippet and do not insert any text in that position the
|
over the snippet and do not insert any text in that position the
|
||||||
placeholder text remains there. This can be used as a standard value for a
|
placeholder text remains there. This can be used as a standard value for a
|
||||||
@ -459,7 +460,7 @@ The structure of a placeholder can be:
|
|||||||
|
|
||||||
- ${number:#:placeholder text}
|
- ${number:#:placeholder text}
|
||||||
|
|
||||||
Here the number is followd by the "#" character. If you jump over this
|
Here the number is followed by the "#" character. If you jump over this
|
||||||
placeholder and do not insert any text, the placeholder text will be
|
placeholder and do not insert any text, the placeholder text will be
|
||||||
removed.
|
removed.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user