This commit is contained in:
parent
808b82dd71
commit
bf3574f63a
@ -1,28 +0,0 @@
|
|||||||
diff --git a/src/testdir/test_popup.vim b/src/testdir/test_popup.vim
|
|
||||||
index 6e07393..eae8bc3 100644
|
|
||||||
--- a/src/testdir/test_popup.vim
|
|
||||||
+++ b/src/testdir/test_popup.vim
|
|
||||||
@@ -17,16 +17,18 @@ func! ListMonths()
|
|
||||||
endfunc
|
|
||||||
|
|
||||||
func! Test_popup_complete2()
|
|
||||||
- " Insert match immediately, if there is only one match
|
|
||||||
- " <c-e> Should select a character from the line below
|
|
||||||
- " TODO: test disabled because the code change has been reverted.
|
|
||||||
- throw "Skipped: Bug with <c-e> and popupmenu not fixed yet"
|
|
||||||
+ " 'the popup menu is not visible' is not equivalent to 'the completion mode
|
|
||||||
+ " is not active'.
|
|
||||||
+ " After the type <F5>, Vim still stay in the first state of the completion
|
|
||||||
+ " mode. It is not related to the visible of popup.
|
|
||||||
+ " So that, the first <C-E> behavior is `complete_CTRL-E`, and the second and
|
|
||||||
+ " more <C-E> is `i_CTRL_E`
|
|
||||||
new
|
|
||||||
inoremap <f5> <c-r>=ListMonths()<cr>
|
|
||||||
call append(1, ["December2015"])
|
|
||||||
:1
|
|
||||||
call feedkeys("aD\<f5>\<C-E>\<C-E>\<C-E>\<C-E>\<enter>\<esc>", 'tx')
|
|
||||||
- call assert_equal(["December2015", "", "December2015"], getline(1,3))
|
|
||||||
+ call assert_equal(["Dece", "", "December2015"], getline(1,3))
|
|
||||||
%d
|
|
||||||
bw!
|
|
||||||
endfu
|
|
2
vim.spec
2
vim.spec
@ -92,7 +92,6 @@ Patch15: %{name}-7.4-filetype_apparmor.patch
|
|||||||
Patch18: %{name}-7.3-filetype_spec.patch
|
Patch18: %{name}-7.3-filetype_spec.patch
|
||||||
Patch21: %{name}-7.3-filetype_changes.patch
|
Patch21: %{name}-7.3-filetype_changes.patch
|
||||||
Patch22: %{name}-7.4-filetype_mine.patch
|
Patch22: %{name}-7.4-filetype_mine.patch
|
||||||
Patch23: fix_test_popup.patch
|
|
||||||
Patch100: vim73-no-static-libpython.patch
|
Patch100: vim73-no-static-libpython.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -167,7 +166,6 @@ cp %{SOURCE23} runtime/syntax/apparmor.vim
|
|||||||
%patch18 -p1
|
%patch18 -p1
|
||||||
%patch21 -p1
|
%patch21 -p1
|
||||||
%patch22 -p1
|
%patch22 -p1
|
||||||
%patch23 -p1
|
|
||||||
%patch100 -p1
|
%patch100 -p1
|
||||||
cp %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE8} %{SOURCE10} .
|
cp %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE8} %{SOURCE10} .
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user