Björn Linse
3c4544c532
tests/ui: screen tests for completion popupmenu
2016-04-24 15:17:39 +02:00
KillTheMule
e6e843ebc0
Make completion_spec.lua more robust
...
Having a tags file in the calling directory of make test would make this test
fail, so disable tag file completion for it. Disable all other options except the
current buffer, to, applying the principle of least surprise.
2016-04-16 22:40:43 +02:00
Shougo Matsushita
d227c843bf
complete: noinsert/noselect should not set 'modified'. #4509
2016-04-09 13:36:37 -04:00
Björn Linse
5aa0159f01
edit.c: K_EVENT should not hide the popupmenu
...
Nor should K_FOCUSGAINED and K_FOCUSLOST.
2016-03-17 13:26:51 +01:00
Anmol Sethi
0b468fd0cf
complete: disable folding when completing
...
Fixes vim/vim#643
2016-03-09 10:04:15 -05:00
Marco Hinz
67eeb8a798
Tests: check error messages from set{qf,loc}list()
2016-03-02 15:09:39 +01:00
Marco Hinz
6bfd88dec1
Tests: add function_spec.lua
2016-03-01 17:07:18 +01:00
Marco Hinz
b6170db1a1
Avoid internal errors with setloclist()
...
All syntastic users experienced this problem:
E685: Internal error: get_tv_string_buf()
It's reproducable with:
:call setloclist(0, [''])
So, not given optional arguments to setloclist() lead to some fields not
inizilied and the code took the wrong branches.
2016-02-26 18:52:17 +01:00
Marco Hinz
97324c96a4
Tests: add errorlist_spec.lua
2016-02-25 12:50:17 +01:00
Justin M. Keyes
7567afbbe5
test: completion_spec: minor edits
2016-02-13 15:21:28 -05:00
solawing
fd14f64e26
tests: add always complete test
2016-01-29 22:03:30 +08:00
Marco Hinz
4a69e55f39
test/functional: clean up according to luacheck (part 1)
2015-11-23 13:57:21 +01:00
Shougo Matsushita
8b200f904f
completion: Initialize v:completed_item #2839
...
v:completed_item should always be a dict (not empty string), even before
the first completion.
2015-06-20 11:53:13 -04:00
Shougo Matsushita
be66c0b357
Add complete() noinsert/noselect support #2792
2015-06-11 09:03:00 -04:00
Shougo Matsushita
e6c62c80ef
Add noinsert and noselect features in completeopt #2564
...
Backported from vim_dev:
https://groups.google.com/forum/#!searchin/vim_dev/completeopt/vim_dev/tVsk0pdOGvs/fCzBbPkA4w0J
Use case:
https://github.com/Shougo/neocomplcache.vim/issues/426
Reviewed-by: Felipe Morales <hel.sheep@gmail.com>
Reviewed-by: Scott Prager <splinterofchaos@gmail.com>
Reviewed-by: Michael Reed <m.reed@mykolab.com>
2015-06-04 21:20:09 -04:00
Shougo Matsushita
d9f97e3026
completion: Add v:completed_item feature #2563
...
Reviewed-by: Michael Reed <m.reed@mykolab.com>
Reviewed-by: Luke Andrew <luke.github@la.id.au>
Reviewed-by: Justin M. Keyes <justinkz@gmail.com>
Reviewed-by: Florian Walch <florian@fwalch.com>
2015-05-24 17:05:12 -04:00