summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_ins_complete.vim
AgeCommit message (Collapse)Author
2022-01-30patch 8.2.4260: Vim9: can still use a global function without g:v8.2.4260Bram Moolenaar
Problem: Vim9: can still use a global function without g: at the script level. Solution: Also check for g: at the script level. (issue #9637)
2022-01-29patch 8.2.4257: Vim9: finding global function without g: prefix inconsistentv8.2.4257Bram Moolenaar
Problem: Vim9: finding global function without g: prefix but not finding global variable is inconsistent. Solution: Require using g: for a global function. Change the vim9.vim script into a Vim9 script with exports. Fix that import in legacy script does not work.
2022-01-08patch 8.2.4037: Insert mode completion is insufficiently testedv8.2.4037Yegappan Lakshmanan
Problem: Insert mode completion is insufficiently tested. Solution: Add more tests. Fix uncovered memory leak. (Yegappan Lakshmanan, closes #9489)
2022-01-03patch 8.2.3989: some insert completion code is not testedv8.2.3989Yegappan Lakshmanan
Problem: Some insert completion code is not tested. Solution: Add a few tests. Refactor thesaurus completion. (Yegappan Lakshmanan, closes #9460)
2021-12-30patch 8.2.3944: insert mode completion functions are too longv8.2.3944Yegappan Lakshmanan
Problem: Insert mode completion functions are too long. Solution: Split up into multiple functions. (Yegappan Lakshmanan, closes #9431)
2021-12-29patch 8.2.3937: Insert mode completion function is too longv8.2.3937Yegappan Lakshmanan
Problem: Insert mode completion function is too long. Solution: Refactor into multiple functions. (Yegappan Lakshmanan, closes #9423)
2021-12-27patch 8.2.3915: illegal memory access when completing with invalid bytesv8.2.3915Bram Moolenaar
Problem: illegal memory access when completing with invalid bytes. Solution: Avoid going over the end of the completion text.
2021-12-17patch 8.2.3838: cannot use script-local function for setting *func optionsv8.2.3838Yegappan Lakshmanan
Problem: Cannot use script-local function for setting *func options. Solution: Use the script context. (Yegappan Lakshmanan, closes #9362)
2021-12-12patch 8.2.3792: setting *func options insufficiently testedv8.2.3792Yegappan Lakshmanan
Problem: Setting *func options insufficiently tested. Solution: Impove tests. (Yegappan Lakshmanan, closes #9337)
2021-12-12patch 8.2.3788: lambda for option that is a function may be freedv8.2.3788Yegappan Lakshmanan
Problem: Lambda for option that is a function may be garbage collected. Solution: Set a reference in the funcref. (Yegappan Lakshmanan, closes #9330)
2021-12-08patch 8.2.3758: options that take a function insufficiently testedv8.2.3758Yegappan Lakshmanan
Problem: Options that take a function insufficiently tested. Solution: Add additional tests and enhance existing tests. (Yegappan Lakshmanan, closes #9298)
2021-12-07patch 8.2.3756: might crash when callback is not validv8.2.3756Yegappan Lakshmanan
Problem: might crash when callback is not valid. Solution: Check for valid callback. (Yegappan Lakshmanan, closes #9293)
2021-12-06patch 8.2.3751: cannot assign a lambda to an option that takes a functionv8.2.3751Yegappan Lakshmanan
Problem: Cannot assign a lambda to an option that takes a function. Solution: Automatically convert the lambda to a string. (Yegappan Lakshmanan, closes #9286)
2021-12-04patch 8.2.3735: cannot use a lambda for 'imactivatefunc'v8.2.3735Yegappan Lakshmanan
Problem: Cannot use a lambda for 'imactivatefunc'. Solution: Add lambda support for 'imactivatefunc' and 'imstatusfunc'. (Yegappan Lakshmanan, closes #9275)
2021-12-03patch 8.2.3725: cannot use a lambda for 'completefunc' and 'omnifunc'v8.2.3725Yegappan Lakshmanan
Problem: Cannot use a lambda for 'completefunc' and 'omnifunc'. Solution: Implement lambda support. (Yegappan Lakshmanan, closes #9257)
2021-11-21patch 8.2.3637: typos in test filesv8.2.3637Dominique Pelle
Problem: Typos in test files. Solution: Correct the typos. (Dominique Pellé, closes #9175)
2021-11-20patch 8.2.3629: command completion in cmdline window uses global commandsv8.2.3629mityu
Problem: Command completion in cmdline window uses global user commands, not local commands for the window where it was opened from. Solution: Use local commands. (closes #9168)
2021-08-31patch 8.2.3389: cannot stop insert mode completion without side effectsv8.2.3389zeertzjq
Problem: Cannot stop insert mode completion without side effects. Solution: Add CTRL-X CTRL-Z. (closes #8821)
2021-07-25patch 8.2.3223: Vim: using {} block in autoloade omnifunc failsv8.2.3223Bram Moolenaar
Problem: Vim: using {} block in autoloade omnifunc fails. Solution: Allow using {} block when text is locked. (closes #8631)
2021-01-29patch 8.2.2427: can still switch windows for 'completefunc'v8.2.2427Bram Moolenaar
Problem: Can still switch windows for 'completefunc'. Solution: Also disallow switching windows for other completions.
2021-01-29patch 8.2.2426: allowing 'completefunc' to switch windows causes troublev8.2.2426Bram Moolenaar
Problem: Allowing 'completefunc' to switch windows causes trouble. Solution: use "textwinlock" instead of "textlock".
2021-01-28patch 8.2.2424: some tests are known to cause an error with ASANv8.2.2424Bram Moolenaar
Problem: Some tests are known to cause an error with ASAN. Solution: Add CheckNotAsan.
2021-01-26patch 8.2.2415: no way to check for the cmdwin featurev8.2.2415Bram Moolenaar
Problem: No way to check for the cmdwin feature, cmdline_hist is now always enabled. Solution: Add has('cmdwin') support. Skip arglist test on Windows temporarily.
2020-12-12patch 8.2.2130: Insert mode completion messages end up in message historyv8.2.2130Bram Moolenaar
Problem: Insert mode completion messages end up in message history. Solution: Set msg_hist_off. (closes #7452
2020-10-26patch 8.2.1907: complete_info().selected may be wrongv8.2.1907Bram Moolenaar
Problem: Complete_info().selected may be wrong. Solution: Update cp_number if it was never set. (issue #6945)
2020-10-25patch 8.2.1901: variable completion does not work in command line windowv8.2.1901Bram Moolenaar
Problem: Variable completion does not work in command line window. Solution: Use the "prevwin". (closes #7198)
2020-09-27patch 8.2.1762: when a timer uses :stopinsert completion isn't stoppedv8.2.1762Bram Moolenaar
Problem: When a timer uses :stopinsert Insert mode completion isn't stopped. (Stanley Chan) Solution: Call ins_compl_prep(ESC).
2020-09-26patch 8.2.1747: result of expand() unexpectedly depends on 'completeslash'v8.2.1747Bram Moolenaar
Problem: Result of expand() unexpectedly depends on 'completeslash'. Solution: Temporarily reset 'completeslash'. (Yasuhiro Matsumoto, closes #7021)
2020-09-12patch 8.2.1673: complete_info() selected index has an invalid valuev8.2.1673Bram Moolenaar
Problem: complete_info() selected index has an invalid value. (Ben Jackson) Solution: Set the index when there is only one match. (closes #6945) Add test for complete_info().
2020-08-12patch 8.2.1432: various inconsistencies in test filesv8.2.1432Bram Moolenaar
Problem: Various inconsistencies in test files. Solution: Add modelines where they were missing. Use Check commands instead of silently skipping over tests. Adjust indents and comments. (Ken Takata, closes #6695)
2020-05-05patch 8.2.0698: insert mode completion not fully testedv8.2.0698Bram Moolenaar
Problem: Insert mode completion not fully tested. Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6041)
2020-04-30patch 8.2.0670: cannot change window when evaluating 'completefunc'v8.2.0670Bram Moolenaar
Problem: Cannot change window when evaluating 'completefunc'. Solution: Make a difference between not changing text or buffers and also not changing window.
2020-04-28patch 8.2.0655: search code not sufficiently testedv8.2.0655Bram Moolenaar
Problem: Search code not sufficiently tested. Solution: Add more tests. (Yegappan Lakshmanan, closes #5999)
2020-04-21patch 8.2.0615: regexp benchmark stest is old stylev8.2.0615Bram Moolenaar
Problem: Regexp benchmark stest is old style. Solution: Make it a new style test. Fix using a NULL list. Add more tests. (Yegappan Lakshmanan, closes #5963)
2020-04-08patch 8.2.0533: tests using term_wait() can still be flakyv8.2.0533Bram Moolenaar
Problem: Tests using term_wait() can still be flaky. Solution: Increase the wait time when rerunning a test. (James McCoy, closes #5899) Halve the initial times to make tests run faster when there is no rerun.
2020-04-06patch 8.2.0522: several errors are not tested forv8.2.0522Bram Moolenaar
Problem: Several errors are not tested for. Solution: Add tests. (Yegappan Lakshmanan, closes #5892)
2020-03-15patch 8.2.0382: some tests fail when run under valgrindv8.2.0382Bram Moolenaar
Problem: Some tests fail when run under valgrind. Solution: Increase timeouts.
2020-01-26patch 8.2.0158: triggering CompleteDone earlier is not backwards compatiblev8.2.0158Bram Moolenaar
Problem: Triggering CompleteDone earlier is not backwards compatible. (Daniel Hahler) Solution: Add CompleteDonePre instead.
2020-01-17patch 8.2.0123: complete_info() does not work when CompleteDone is triggeredv8.2.0123Bram Moolenaar
Problem: complete_info() does not work when CompleteDone is triggered. Solution: Trigger CompleteDone before clearing the info.
2020-01-05patch 8.2.0088: insufficient tests for tags; bug in using extra tag fieldv8.2.0088Bram Moolenaar
Problem: Insufficient tests for tags; bug in using extra tag field when using an ex command to position the cursor. Solution: Fix the bug, add more tests. (Yegappan Lakshmanan, closes #5439)
2020-01-04patch 8.2.0084: complete item "user_data" can only be a stringv8.2.0084Bram Moolenaar
Problem: Complete item "user_data" can only be a string. Solution: Accept any type of variable. (closes #5412)
2019-12-15patch 8.2.0011: screen updating wrong when opeing preview windowv8.2.0011Bram Moolenaar
Problem: Screen updating wrong when opeing preview window. Solution: Redraw the window when the preview window opens.
2019-12-14patch 8.2.0007: popup menu positioned wrong with folding in two tabsv8.2.0007Bram Moolenaar
Problem: Popup menu positioned wrong with folding in two tabs. Solution: Update the cursor line height. (closes #5353)
2019-08-02patch 8.1.1791: 'completeslash' also applies to globpath()v8.1.1791Bram Moolenaar
Problem: 'completeslash' also applies to globpath(). Solution: Add the WILD_IGNORE_COMPLETESLASH flag. (test by Yasuhiro Matsumoto, closes #4760)
2019-07-29patch 8.1.1774: test is silently skippedv8.1.1774Bram Moolenaar
Problem: Test is silently skipped. Solution: Throw "Skipped".
2019-07-28patch 8.1.1769: 'shellslash' is also used for completionv8.1.1769Bram Moolenaar
Problem: 'shellslash' is also used for completion. Solution: Add the 'completeslash' option. (Yasuhiro Matsumoto, closes #3612)
2019-07-22patch 8.1.1732: completion in cmdwin does not work for buffer-local commandsv8.1.1732Bram Moolenaar
Problem: Completion in cmdwin does not work for buffer-local commands. Solution: Use the right buffer. (closes #4711)
2019-04-08patch 8.1.1139: no test for what is fixed in patch 8.1.0716v8.1.1139Bram Moolenaar
Problem: No test for what is fixed in patch 8.1.0716. Solution: Add a test. (Yasuhiro Matsumoto, closes #3797)
2019-01-11patch 8.1.0716: get warning message when 'completefunc' returns nothingv8.1.0716Bram Moolenaar
Problem: Get warning message when 'completefunc' returns nothing. Solution: Allow for returning v:none to suppress the warning message. (Yasuhiro Matsumoto, closes #3789)
2019-01-09patch 8.1.0711: test files still use function!v8.1.0711Bram Moolenaar
Problem: Test files still use function!. Solution: Remove the exclamation mark. Fix overwriting a function.