- Deleted compatibility features.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
*neosnippet.txt*
|
||||
The neo-snippet plugin contains the neocomplcache snippet source
|
||||
The neo-snippet plugin contains snippet source
|
||||
|
||||
Version: 3.1
|
||||
Author: Shougo <Shougo.Matsu@gmail.com>
|
||||
@@ -42,8 +42,8 @@ INTRODUCTION *neosnippet-introduction*
|
||||
|
||||
This plugin analyzes snippet files which you can use for completion. It offers
|
||||
functionality similar to snipMate.vim or snippetsEmu.vim. Since you can choose
|
||||
snippets with the neocomplcache interface, you might have less trouble using
|
||||
them, because you do not have to remember each snippet name.
|
||||
snippets with the neocomplcache/neocomplete interface, you might have less
|
||||
trouble using them, because you do not have to remember each snippet name.
|
||||
|
||||
==============================================================================
|
||||
INSTALL *neosnippet-install*
|
||||
@@ -76,9 +76,6 @@ COMMANDS *neosnippet-commands*
|
||||
automatically chooses the current buffer's file type unless you
|
||||
specify another one by [filetype].
|
||||
|
||||
*:NeoComplCacheCachingSnippets*
|
||||
Note: |:NeoComplCacheCachingSnippets| is an obsolete name.
|
||||
|
||||
:NeoSnippetEdit [{options}] [filetype]
|
||||
*:NeoSnippetEdit*
|
||||
Opens the snippets for a given [filetype] to edit. It automatically
|
||||
@@ -93,7 +90,6 @@ COMMANDS *neosnippet-commands*
|
||||
with precedence. The snippets are re-cached automatically
|
||||
when you save the file after edit.
|
||||
|
||||
*:NeoComplCacheEditSnippets*
|
||||
The following parameters can be used as {options} to modify
|
||||
the behavior of the command. Note: You must escape spaces with
|
||||
a backslash "\".
|
||||
@@ -122,18 +118,6 @@ COMMANDS *neosnippet-commands*
|
||||
Edit the runtime snippets (built-in defaults) instead of the
|
||||
user snippets defined by 'g:neosnippet#snippets_directory'.
|
||||
|
||||
Note: |:NeoComplCacheEditSnippets| is an obsolete name.
|
||||
|
||||
:NeoComplCacheEdit -runtime [filetype]
|
||||
|
||||
Opens the built in snippet file for the [filetype] to edit. It
|
||||
automatically selects the current buffer's file type
|
||||
unless you specify a file type by [filetype]. The snippets are
|
||||
re-cached automatically when you save the file after edit.
|
||||
|
||||
*:NeoComplCacheEditRuntimeSnippets*
|
||||
Note: |:NeoComplCacheEditRuntimeSnippets| is an obsolete name.
|
||||
|
||||
:NeoSnippetSource [filename]
|
||||
*:NeoSnippetSource*
|
||||
|
||||
@@ -160,9 +144,6 @@ g:neosnippet#snippets_directory *g:neosnippet#snippets_directory*
|
||||
- "vim_*.snip*"
|
||||
- "vim/**/*.snip"
|
||||
|
||||
*g:neocomplcache_snippets_dir*
|
||||
Note: |g:neocomplcache_snippets_dir| is an obsolete name.
|
||||
|
||||
This variable doesn't exist unless you declare it.
|
||||
|
||||
g:neosnippet#disable_select_mode_mappings
|
||||
@@ -172,10 +153,6 @@ g:neosnippet#disable_select_mode_mappings
|
||||
is better to leave it as it is. But if you have troubles with
|
||||
the buffer switcher LustyJuggler you can switch them off.
|
||||
|
||||
*g:neocomplcache_disable_select_mode_mappings*
|
||||
Note: |g:neocomplcache_disable_select_mode_mappings| is an
|
||||
obsolete name.
|
||||
|
||||
The default value is 1.
|
||||
|
||||
g:neosnippet#disable_runtime_snippets
|
||||
@@ -197,16 +174,11 @@ g:neosnippet#disable_runtime_snippets
|
||||
\ 'c' : 1, 'cpp' : 1,
|
||||
\ }
|
||||
|
||||
" Works like g:neocomplcache_snippets_disable_runtime_snippets
|
||||
" which disables all runtime snippets
|
||||
let g:neosnippet#disable_runtime_snippets = {
|
||||
\ '_' : 1,
|
||||
\ }
|
||||
<
|
||||
*g:neocomplcache_snippets_disable_runtime_snippets*
|
||||
Note: |g:neocomplcache_snippets_disable_runtime_snippets| is
|
||||
an obsolete name.
|
||||
|
||||
The default value is {}.
|
||||
|
||||
g:neosnippet#enable_snipmate_compatibility
|
||||
@@ -233,10 +205,6 @@ s_<Plug>(neosnippet_expand_or_jump)
|
||||
no snippet available it jumps to the next placeholder of the
|
||||
buffer.
|
||||
|
||||
*<Plug>(neocomplcache_snippets_expand)*
|
||||
Note: |<Plug>(neocomplcache_snippets_expand)| is an obsolete
|
||||
name.
|
||||
|
||||
<Plug>(neosnippet_jump_or_expand)
|
||||
*<Plug>(neosnippet_jump_or_expand)*
|
||||
s_<Plug>(neosnippet_jump_or_expand)
|
||||
@@ -245,21 +213,13 @@ s_<Plug>(neosnippet_jump_or_expand)
|
||||
is no placeholder it expands a snippet in the current cursor
|
||||
position.
|
||||
|
||||
*<Plug>(neocomplcache_snippets_jump)*
|
||||
Note: |<Plug>(neocomplcache_snippets_jump)| is an obsolete
|
||||
name.
|
||||
|
||||
<Plug>(neosnippet_expand)
|
||||
*<Plug>(neosnippet_expand)*
|
||||
s_<Plug>(neosnippet_expand)
|
||||
*s_<Plug>(neosnippet_expand)*
|
||||
Expand a snippet in current cursor position. It only takes
|
||||
effect if there is a snippet text to expand or if you have
|
||||
chosen a snippet from the neocomplcache drop down menu.
|
||||
|
||||
*<Plug>(neocomplcache_snippets_force_expand)*
|
||||
Note: |<Plug>(neocomplcache_snippets_force_expand)| is
|
||||
an obsolete name.
|
||||
chosen a snippet from popup menu.
|
||||
|
||||
<Plug>(neosnippet_jump)
|
||||
*<Plug>(neosnippet_jump)*
|
||||
@@ -268,20 +228,12 @@ s_<Plug>(neosnippet_jump)
|
||||
Jump to the next placeholder key. It does not expand any
|
||||
snippets.
|
||||
|
||||
*<Plug>(neocomplcache_snippets_force_jump)*
|
||||
Note: |<Plug>(neocomplcache_snippets_force_jump)| is
|
||||
an obsolete name.
|
||||
|
||||
i_<Plug>(neosnippet_start_unite_snippet)
|
||||
*i_<Plug>(neosnippet_start_unite_snippet)*
|
||||
Starts the unite snippet source. You can expand a snippet by
|
||||
the unite interface.
|
||||
Note: The plug-in |unite.vim| is required for that feature.
|
||||
|
||||
*<Plug>(neocomplcache_start_unite_snippet)*
|
||||
Note: |<Plug>(neocomplcache_start_unite_snippet)| is an
|
||||
obsolete name.
|
||||
|
||||
x_<Plug>(neosnippet_expand_target)
|
||||
*x_<Plug>(neosnippet_expand_target)*
|
||||
Expand the input trigger by a selected target text.
|
||||
@@ -301,17 +253,6 @@ neosnippet#expandable()
|
||||
You can use this function with imap <expr>. It checks if
|
||||
the cursor text is a snippet trigger. This is is useful to
|
||||
save key mappings.
|
||||
Note: If you are used to
|
||||
|neocomplcache#sources#snippets_complete#expandable()|, you
|
||||
must use |neosnippet#expandable_or_jumpable()|.
|
||||
|
||||
*neocomplcache#sources#snippets_complete#expandable()*
|
||||
*neocomplcache#sources#snippets_complete#force_expandable()*
|
||||
Note:
|
||||
|neocomplcache#sources#snippets_complete#expandable()|
|
||||
and
|
||||
|neocomplcache#sources#snippets_complete#force_expandable()|
|
||||
are obsolete names.
|
||||
|
||||
neosnippet#jumpable()
|
||||
*neosnippet#jumpable()*
|
||||
@@ -319,10 +260,6 @@ neosnippet#jumpable()
|
||||
cursor text is an existing placeholder in current buffer. This
|
||||
is useful to save key mappings.
|
||||
|
||||
*neocomplcache#sources#snippets_complete#jumpable()*
|
||||
Note: |neocomplcache#sources#snippets_complete#jumpable()| is
|
||||
an obsolete name.
|
||||
|
||||
neosnippet#expandable_or_jumpable()
|
||||
*neosnippet#expandable_or_jumpable()*
|
||||
You can use this function with imap <expr>. It checks if
|
||||
@@ -345,10 +282,6 @@ neosnippet#get_snippets_directory()
|
||||
snippets directories and |g:neosnippet#snippets_directory|
|
||||
directories.
|
||||
|
||||
*neocomplcache#sources#snippets_complete#get_snippets_dir()*
|
||||
Note:
|
||||
|neocomplcache#sources#snippets_complete#get_snippets_dir()|
|
||||
is an obsolete name.
|
||||
|
||||
==============================================================================
|
||||
EXAMPLES *neosnippet-examples*
|
||||
@@ -409,7 +342,7 @@ Snippet Keywords:
|
||||
- abbr [name] (Optional)
|
||||
|
||||
You can define an abbreviation for the snippet name. It will be
|
||||
displayed in the drop down selection menu of the neocomplcache plugin.
|
||||
displayed in the drop down selection menu.
|
||||
|
||||
- alias [aliases] (Optional)
|
||||
|
||||
@@ -788,6 +721,9 @@ A: You can use |:NeoSnippetSource| for it.
|
||||
==============================================================================
|
||||
CHANGELOG *neosnippet-changelog*
|
||||
|
||||
2013-06-04
|
||||
- Deleted compatibility features.
|
||||
|
||||
2013-05-30
|
||||
- Added scheme snippets.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user