From f23db01e409aba55dd6f9355ed570360d9489c07 Mon Sep 17 00:00:00 2001 From: ujihisa Date: Tue, 2 Oct 2012 14:04:43 -0700 Subject: [PATCH 1/2] docfix: :NeoSnippetEdit's option descriptions were in :NeoSnippetMakeCache --- doc/neosnippet.txt | 35 +++++++++++++++++------------------ 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/doc/neosnippet.txt b/doc/neosnippet.txt index 865dedd..144244b 100644 --- a/doc/neosnippet.txt +++ b/doc/neosnippet.txt @@ -63,7 +63,23 @@ COMMANDS *neosnippet-commands* Makes cache of [filetype] snippets. It automatically selects current buffer's filetype unless you specify [filetype]. - *:NeoSnippetMakeCache-options* + *:NeoComplCacheCachingSnippets* + Note: |:NeoComplCacheCachingSnippets| is obsolute name. + +:NeoSnippetEdit [{options}] [filetype] + *:NeoSnippetEdit* + Opens [filetype] snippets to edit. It automatically selects + current buffer's filetype unless you specify [filetype]. + + If [filetype] snippet file doesn't exist, it creates one + automatically. + + It edits a snippet file in |g:neosnippet#snippets_directory| + with precedence. + Re-make cache will be done automatically when you save the + file. + + *:NeoComplCacheEditSnippets* {options} are options for the command. You may give the following parameters for a option; you must escape with "\" when it contains spaces. @@ -90,23 +106,6 @@ COMMANDS *neosnippet-commands* -runtime Edit runtime snippets instead of user snippets. - *:NeoComplCacheCachingSnippets* - Note: |:NeoComplCacheCachingSnippets| is obsolute name. - -:NeoSnippetEdit [{options}] [filetype] - *:NeoSnippetEdit* - Opens [filetype] snippets to edit. It automatically selects - current buffer's filetype unless you specify [filetype]. - - If [filetype] snippet file doesn't exist, it creates one - automatically. - - It edits a snippet file in |g:neosnippet#snippets_directory| - with precedence. - Re-make cache will be done automatically when you save the - file. - - *:NeoComplCacheEditSnippets* Note: |:NeoComplCacheEditSnippets| is obsolute name. :NeoComplCacheEdit -runtime [filetype] From eb19289a31e0eba99fd9ad266f4acd03f4fb05dc Mon Sep 17 00:00:00 2001 From: ujihisa Date: Tue, 2 Oct 2012 08:26:27 -0700 Subject: [PATCH 2/2] bugfix: :leftbelow command doesn't exit. now -split option will work. --- autoload/neosnippet.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/neosnippet.vim b/autoload/neosnippet.vim index a8b2bf5..9aa7ef6 100644 --- a/autoload/neosnippet.vim +++ b/autoload/neosnippet.vim @@ -263,7 +263,7 @@ function! s:initialize_options(options)"{{{ let default_options = { \ 'runtime' : 0, \ 'vertical' : 0, - \ 'direction' : 'belowleft', + \ 'direction' : 'below', \ 'split' : 0, \ }