- Supported preview window.

This commit is contained in:
Shougo Matsushita 2013-03-16 12:42:20 +09:00
parent c5913090b4
commit 7cdc508edb
2 changed files with 11 additions and 1 deletions

View File

@ -1,7 +1,7 @@
"=============================================================================
" FILE: snippets_complete.vim
" AUTHOR: Shougo Matsushita <Shougo.Matsu@gmail.com>
" 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

View File

@ -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.