- Supported preview window.
This commit is contained in:
parent
c5913090b4
commit
7cdc508edb
@ -1,7 +1,7 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" FILE: snippets_complete.vim
|
" FILE: snippets_complete.vim
|
||||||
" AUTHOR: Shougo Matsushita <Shougo.Matsu@gmail.com>
|
" AUTHOR: Shougo Matsushita <Shougo.Matsu@gmail.com>
|
||||||
" Last Modified: 06 Mar 2013.
|
" Last Modified: 16 Mar 2013.
|
||||||
" License: MIT license {{{
|
" License: MIT license {{{
|
||||||
" Permission is hereby granted, free of charge, to any person obtaining
|
" Permission is hereby granted, free of charge, to any person obtaining
|
||||||
" a copy of this software and associated documentation files (the
|
" 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) ? '~' : ''
|
\ 'neocomplcache__refresh', 0) ? '~' : ''
|
||||||
let snippet.menu = neosnippet#util#strwidthpart(
|
let snippet.menu = neosnippet#util#strwidthpart(
|
||||||
\ snippet.menu_template, winwidth(0)/3)
|
\ snippet.menu_template, winwidth(0)/3)
|
||||||
|
let snippet.info = snippet.snip
|
||||||
endfor
|
endfor
|
||||||
|
|
||||||
return list
|
return list
|
||||||
|
@ -738,9 +738,18 @@ A: You must use smap in .vimrc.
|
|||||||
<
|
<
|
||||||
Because neosnippet uses select-mode to jump over placeholder.
|
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*
|
CHANGELOG *neosnippet-changelog*
|
||||||
|
|
||||||
|
2013-03-16
|
||||||
|
- Supported preview window.
|
||||||
|
|
||||||
2013-03-10
|
2013-03-10
|
||||||
- Fixed menu error.
|
- Fixed menu error.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user