From 7cdc508edbb392c83df42bb591aec096a7459ebe Mon Sep 17 00:00:00 2001 From: Shougo Matsushita Date: Sat, 16 Mar 2013 12:42:20 +0900 Subject: [PATCH] - Supported preview window. --- autoload/neocomplcache/sources/snippets_complete.vim | 3 ++- doc/neosnippet.txt | 9 +++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/autoload/neocomplcache/sources/snippets_complete.vim b/autoload/neocomplcache/sources/snippets_complete.vim index 265d714..187a3e5 100644 --- a/autoload/neocomplcache/sources/snippets_complete.vim +++ b/autoload/neocomplcache/sources/snippets_complete.vim @@ -1,7 +1,7 @@ "============================================================================= " FILE: snippets_complete.vim " AUTHOR: Shougo Matsushita -" Last Modified: 06 Mar 2013. +" Last Modified: 16 Mar 2013. " License: MIT license {{{ " Permission is hereby granted, free of charge, to any person obtaining " a copy of this software and associated documentation files (the @@ -63,6 +63,7 @@ function! s:source.get_complete_words(cur_keyword_pos, cur_keyword_str) "{{{ \ 'neocomplcache__refresh', 0) ? '~' : '' let snippet.menu = neosnippet#util#strwidthpart( \ snippet.menu_template, winwidth(0)/3) + let snippet.info = snippet.snip endfor return list diff --git a/doc/neosnippet.txt b/doc/neosnippet.txt index 0b9af31..0c5635d 100755 --- a/doc/neosnippet.txt +++ b/doc/neosnippet.txt @@ -738,9 +738,18 @@ A: You must use smap in .vimrc. < Because neosnippet uses select-mode to jump over placeholder. +Q: I want to disable preview window in neosnippet candiates. + +A: +> + set completeopt-=preview +< ============================================================================== CHANGELOG *neosnippet-changelog* +2013-03-16 +- Supported preview window. + 2013-03-10 - Fixed menu error.