better English

This commit is contained in:
ujihisa 2012-10-19 20:59:02 -07:00
parent 42e3c7561f
commit 7286b8e819

View File

@ -374,32 +374,33 @@ Alias feature is available. The separator is either ' ' or ','.
alias hoge hogera hogehoge alias hoge hogera hogehoge
< <
Synchronized placeholder feature is supported. $1 is synchronized to ${1}. Synchronized placeholder feature is supported. $1 is synchronized to ${1}.
When you jump next, it is synchronized. $0 is last jump placeholder. When you jump next, it will be synchronized. $0 will be the final jump
placeholder.
The placeholder value can't contain new lines. Below snippet is illegal: The placeholder value can't contain new lines. The snippet below isn't valid:
> >
snippet test snippet test
${1:constructor: (${2:args\}) -> ${1:constructor: (${2:args\}) ->
${3:# do smth}} ${3:# do smth}}
< <
Multi snippet feature is supported in snipMate. Multi snippet feature in snipMate is available.
neosnippet substitutes trigger and descriptions spaces to '_'. Neosnippet substitutes trigger and descriptions spaces to '_'.
> >
snippet trigger description1 snippet trigger description1
hoge hoge
snippet trigger description2 snippet trigger description2
piyo piyo
< <
You choose snippet <C-n> or <C-p> and expand it with Choose snippets using <C-n> or <C-p> and expand it with
|<Plug>(neosnippet_expand_or_jump)| key-mappings. |<Plug>(neosnippet_expand_or_jump)| key-mappings.
Nested placeholder feature is supported. Nested placeholder feature is available, But you must escape inner "}". "\" is
But must escape inner "}". "\" is eacape sequence. the eacape sequence.
> >
snippet div snippet div
<div ${1:id="${2:someid\}"}>${3}</div>${4} <div ${1:id="${2:someid\}"}>${3}</div>${4}
< <
In following snippet, you must escape "}" twice. You must escape "}" twice in following case.
> >
snippet catch snippet catch
prev_word '^' prev_word '^'
@ -409,7 +410,7 @@ Because ${1:} substitutes the pattern to "/${2:pattern: empty, E484,
Vim(cmdname):{errmsg\}}" and ${2:} substitutes the pattern to "pattern: Vim(cmdname):{errmsg\}}" and ${2:} substitutes the pattern to "pattern:
empty, E484, Vim(cmdname):{errmsg}" empty, E484, Vim(cmdname):{errmsg}"
If you use hard tab for indentation in snippet file, neosnippet will use If you use hard-tab for indentation in snippet file, neosnippet will use
'shiftwidth' instead of Vim indent plugin. This feature is useful while some 'shiftwidth' instead of Vim indent plugin. This feature is useful while some
languages' indent files can not work very well (e.g.: PHP, Python). languages' indent files can not work very well (e.g.: PHP, Python).
> >