aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
Commit message (Collapse)AuthorAge
...
* vim-patch:8.2.0474: cannot use :write when using a plugin with BufWriteCmdJan Edmund Lazo2020-04-13
| | | | | | Problem: Cannot use :write when using a plugin with BufWriteCmd. Solution: Reset BF_NOTEDITED after BufWriteCmd. (closes vim/vim#5807) https://github.com/vim/vim/commit/0fff44152d06e6b662ad4bef172af07a041d2f3f
* vim-patch:8.2.0457: Test_quotestar() often fails when run under valgrindJan Edmund Lazo2020-04-13
| | | | | | Problem: Test_quotestar() often fails when run under valgrind. Solution: Wait longer for the GUI to start. https://github.com/vim/vim/commit/26bde6e2eb307898ab7ed42bf8e7e2ccde979e02
* vim-patch:8.2.0415: bsdl filetype is not detectedJan Edmund Lazo2020-04-13
| | | | | | Problem: Bsdl filetype is not detected. Solution: Add an entry in the filetype list. (Daniel Kho, closes vim/vim#5810) https://github.com/vim/vim/commit/40d235e7305ce6ff696e8301c62a41f1f07f8aca
* vim-patch:8.2.0406: FileReadCmd event not well testedJan Edmund Lazo2020-04-13
| | | | | | Problem: FileReadCmd event not well tested. Solution: Add a test. https://github.com/vim/vim/commit/e32848780cc07c368ba2e088cdefdbb8c3b827c2
* vim-patch:8.1.2282: crash when passing many arguments through a partialJan Edmund Lazo2020-04-13
| | | | | | | Problem: Crash when passing many arguments through a partial. (Andy Massimino) Solution: Check the number of arguments. (closes vim/vim#5186) https://github.com/vim/vim/commit/4c054e9fb23027b55a09ee647a3a2c91936aeb1b
* vim-patch:8.1.2280: crash when passing partial to substitute()Jan Edmund Lazo2020-04-13
| | | | | | Problem: Crash when passing partial to substitute(). Solution: Take extra arguments into account. (closes vim/vim#5186) https://github.com/vim/vim/commit/b0745b221d284e381f1bd4b591cd68ea54b6a51d
* vim-patch:8.2.0398: profile test fails when two functions take same timeJan Edmund Lazo2020-04-13
| | | | | | Problem: Profile test fails when two functions take same time. Solution: Add a short sleep in once function. (closes vim/vim#5797) https://github.com/vim/vim/commit/a21df1db3ca619afdcb47931af042508a6bbc8e5
* vim-patch:8.2.0381: using freed memory with :lvimgrep and autocommandJan Edmund Lazo2020-04-13
| | | | | | | Problem: Using freed memory with :lvimgrep and autocommand. (extracted from POC by Dominique Pelle) Solution: Avoid deleting a dummy buffer used in a window. (closes vim/vim#5777) https://github.com/vim/vim/commit/2573af3519ad062ddad647b97e32090f106f2ac1
* vim-patch:8.2.0365: tag kind can't be a multi-byte characterJan Edmund Lazo2020-04-13
| | | | | | Problem: Tag kind can't be a multi-byte character. (Marcin Szamotulski) Solution: Recognize multi-byte character. (closes vim/vim#5724) https://github.com/vim/vim/commit/283e5f4e69b204e0eafd408548e69b7ca9b4871b
* vim-patch:8.2.0366: hardcopy command not tested enoughJan Edmund Lazo2020-04-13
| | | | | | Problem: Hardcopy command not tested enough. Solution: Add tests for printing. (Dominique Pelle, closes vim/vim#5748) https://github.com/vim/vim/commit/2e09634a7880f55a61cb6b959dd89c51972866af
* vim-patch:8.1.1568: strftime() test fails on MS-WindowsJan Edmund Lazo2020-03-29
| | | | | | Problem: Strftime() test fails on MS-Windows. Solution: Skip the check for using the $TZ environment variable. https://github.com/vim/vim/commit/87652a7e3b94755084944afec51a0bfcd8b0a0c3
* vim-patch:8.1.1567: localtime_r() does not respond to $TZ changesJan Edmund Lazo2020-03-29
| | | | | | Problem: Localtime_r() does not respond to $TZ changes. Solution: If $TZ changes then call tzset(). (Tom Ryder) https://github.com/vim/vim/commit/db51730df1817fc4b6ecf5a065c69fac518ad821
* vim-patch:8.1.0864 Make 'scrolloff' and 'sidescrolloff' options window local ↵Will Eccles2020-03-17
| | | | | | | | | | (#11854) Problem: cannot have a local value for 'scrolloff' and 'sidescrolloff' Author: Bram Moolenar https://github.com/vim/vim/commit/375e3390078e740d3c83b0c118c50d9a920036c7
* vim-patch:8.2.0361: internal error when using "0" for a callbackJan Edmund Lazo2020-03-07
| | | | | | Problem: Internal error when using "0" for a callback. Solution: Give a normal error. (closes vim/vim#5743) https://github.com/vim/vim/commit/14e57909e662a43a42438e2701654af48af49b03
* vim-patch:8.2.0360: yaml files are only recognized by the file extensionJan Edmund Lazo2020-03-07
| | | | | | Problem: Yaml files are only recognized by the file extension. Solution: Check for a line starting with "%YAML". (Jason Franklin) https://github.com/vim/vim/commit/8eab73132838e977092d7b46f70b4ecf6274fd6a
* Merge pull request #11716 from teto/folds_auto_backupMatthieu Coudron2020-03-02
|\ | | | | [RFC] foldcolumn autowidth
| * foldcolumn: allow auto:XMatthieu Coudron2020-02-29
| | | | | | | | | | | | | | | | Similar to signcolumn, allow foldcolumn to adapt itself to the number of folds. Regression: vim supports a maximum fdc of 12, this limits it to 9.
* | vim-patch:8.1.1108: test for 'visualbell' doesn't workJan Edmund Lazo2020-03-01
| | | | | | | | | | | | Problem: Test for 'visualbell' doesn't work. Solution: Make 'belloff' empty. https://github.com/vim/vim/commit/7a66627cf43412604a28e0d99df8f96a29ff1c3a
* | vim-patch:8.1.1107: no test for 'visualbell'Jan Edmund Lazo2020-03-01
| | | | | | | | | | | | Problem: No test for 'visualbell'. Solution: Add a test. https://github.com/vim/vim/commit/b4e6a2d07510e18e6720d6b2ee0b029f95430964
* | vim-patch:8.2.0108: when sign text is changed a manual redraw is neededJan Edmund Lazo2020-03-01
| | | | | | | | | | | | | | Problem: When sign text is changed a manual redraw is needed. (Pontus Lietzler) Solution: Redraw automatically. (closes vim/vim#5455) https://github.com/vim/vim/commit/bf0acff012c2f75563c20241f1a5478534fe2c7a
* | vim-patch:8.1.0939: no completion for sign group namesJan Edmund Lazo2020-03-01
| | | | | | | | | | | | | | Problem: No completion for sign group names. Solution: Add completion for sign group names and buffer names. (Yegappan Lakshmanan, closes vim/vim#3980) https://github.com/vim/vim/commit/3678f65d43d10b36dc62738aab2f341fa1e18a32
* | vim-patch:8.1.1552: cursor position is wrong after sign column changesJan Edmund Lazo2020-03-01
| | | | | | | | | | | | | | Problem: Cursor position is wrong after sign column appears or disappears. (Yegappan Lakshmanan) Solution: Call changed_line_abv_curs() instead of changed_cline_bef_curs(). https://github.com/vim/vim/commit/f85e40afc204c241c6a01023be3e7b8101d36367
* | vim-patch:8.1.1489: sign order wrong when priority was changedJan Edmund Lazo2020-03-01
| | | | | | | | | | | | | | Problem: Sign order wrong when priority was changed. Solution: Reorder signs when priority is changed. (Yegappan Lakshmanan, closes vim/vim#4502) https://github.com/vim/vim/commit/64416127fc184b5544530afe818722679158f059
* | vim-patch:8.1.1466: not updating priority on existing signJan Edmund Lazo2020-03-01
| | | | | | | | | | | | Problem: Not updating priority on existing sign. Solution: Set the sign priority. Add a test. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/58a7f87c8653b4cb5b0794b6b88e2ec140d3d2c3
* | vim-patch:8.1.0896: tests for restricted mode no run for MS-Windows GUIJan Edmund Lazo2020-03-01
| | | | | | | | | | | | Problem: Tests for restricted mode no run for MS-Windows GUI. Solution: Make tests also work in MS-Windows GUI. https://github.com/vim/vim/commit/5a6698169d10833abad88c98e5a332ddde5d110d
* | vim-patch:8.1.0885: test for restricted hangs on MS-Windows GUIJan Edmund Lazo2020-03-01
| | | | | | | | | | | | Problem: Test for restricted hangs on MS-Windows GUI. Solution: Skip the test. https://github.com/vim/vim/commit/18c5632cab09e5e51320f55005f310920648f35b
* | vim-patch:8.1.0881: can execute shell commands in rvim through interfacesJan Edmund Lazo2020-03-01
| | | | | | | | | | | | | | Problem: Can execute shell commands in rvim through interfaces. Solution: Disable using interfaces in restricted mode. Allow for writing file with writefile(), histadd() and a few others. https://github.com/vim/vim/commit/8c62a08faf89663e5633dc5036cd8695c80f1075
* | vim-patch:8.1.1642: may use uninitialized variableJan Edmund Lazo2020-03-01
| | | | | | | | | | | | Problem: May use uninitialized variable. (Patrick Palka) Solution: Initialize variables earlier. (closes vim/vim#4623) https://github.com/vim/vim/commit/ec572ad6a6cb0d4e71901951a70a4f038d48cb17
* | vim-patch:8.2.0135: bracketed paste can still cause invalid memory accessJan Edmund Lazo2020-03-01
| | | | | | | | | | | | | | Problem: Bracketed paste can still cause invalid memory access. (Dominique Pelle) Solution: Check for NULL pointer. https://github.com/vim/vim/commit/fe4bbac1166f2e4e3fa18cb966ec7305198c8176
* | vim-patch:8.2.0133: invalid memory access with search commandJan Edmund Lazo2020-03-01
| | | | | | | | | | | | | | Problem: Invalid memory access with search command. Solution: When :normal runs out of characters in bracketed paste mode break out of the loop.(closes vim/vim#5511) https://github.com/vim/vim/commit/98a336dd497d3422e7efeef9f24cc9e25aeb8a49
* | vim-patch:8.1.0619: :echomsg and :echoerr do not handle List and DictJan Edmund Lazo2020-02-29
|/ | | | | | | | | | | | | Problem: :echomsg and :echoerr do not handle List and Dict like :echo does. (Daniel Hahler) Solution: Be more tolerant about the expression result type. https://github.com/vim/vim/commit/461a7fcfce3cd6414f990037e6468af3b5ccf119 Add lua functional tests for :echo,:echon,:echomsg,:echoerr because nvim did not port "test_" functions from Vim that modify internal state. Testing :echoerr via try/catch is sufficient.
* vim-patch:8.1.1122: char2nr() does not handle composing charactersJan Edmund Lazo2020-02-20
| | | | | | | | Problem: char2nr() does not handle composing characters. Solution: Add str2list() and list2str(). (Ozaki Kiichi, closes vim/vim#4190) https://github.com/vim/vim/commit/9d40128afd7fcd038ff6532722b55b1a8c189ce8 'utf8' optional param is noop unlike Vim.
* vim-patch:8.1.1868: multi-byte chars in 'listchars' fail with 'linebreak' setJan Edmund Lazo2020-02-20
| | | | | | | | Problem: Multibyte characters in 'listchars' don't work correctly if 'linebreak' is also enabled. (Martin Tournoij) Solution: Make it work correctly. (Christian Brabandt, closes vim/vim#4822, closes vim/vim#4812) https://github.com/vim/vim/commit/69cbbecf548f390197259ca30cfe147c3e59ce5a
* vim-patch:8.2.0267: no check for a following cmd when calling a function failsJan Edmund Lazo2020-02-16
| | | | | | | Problem: No check for a following command when calling a function fails. Solution: Also check for a following command when inside a try block. (closes vim/vim#5642) https://github.com/vim/vim/commit/e51bb17dd0d51384375830ee2a1df30c08121443
* vim-patch:8.1.0043: ++bad argument of :edit does not work properlyJan Edmund Lazo2020-02-16
| | | | | | | | Problem: ++bad argument of :edit does not work properly. Solution: Return FAIL from get_bad_opt() only when there is no valid argument. (Dominique Pelle, Christian Brabandt, closes vim/vim#2966, closes vim/vim#2947) https://github.com/vim/vim/commit/7580849df9d6c7c515f5ed784019336d8a8ec0f0
* vim-patch:8.1.2187: error for bad regexp even though regexp is not usedJan Edmund Lazo2020-02-16
| | | | | | | Problem: Error for bad regexp even though regexp is not used when writing a file. (Arseny Nasokin) Solution: Ignore regexp errors. (closes vim/vim#5059) https://github.com/vim/vim/commit/b40c2576d4e0e2dd2c580414c45947d88556d76d
* vim-patch:8.2.0241: crash when setting 'buftype' to "quickfix"Jan Edmund Lazo2020-02-16
| | | | | | Problem: Crash when setting 'buftype' to "quickfix". Solution: Check that error list is not NULL. (closes vim/vim#5613) https://github.com/vim/vim/commit/99234f29aa8767f2e71bb1f5db6ee0131bc8e64e
* vim-patch:8.1.2259: running tests may leave XfakeHOME behindJan Edmund Lazo2020-02-16
| | | | | | | Problem: Running tests may leave XfakeHOME behind. Solution: Source summarize.vim without using setup.vim. (closes vim/vim#5177) Also fix that on MS-Windows the test log isn't echoed. https://github.com/vim/vim/commit/7d2320414ffdd698c9a17d775f71e2c455c21624
* vim-patch:8.1.2131: MSVC tests failJan Edmund Lazo2020-02-16
| | | | | | Problem: MSVC tests fail. Solution: Replace backslashes with slashes. https://github.com/vim/vim/commit/c25e702deec74771e49f6c2df4cda7a1f97d0c1e
* vim-patch:8.1.2129: using hard coded executable path in testJan Edmund Lazo2020-02-16
| | | | | | | Problem: Using hard coded executable path in test. Solution: Use v:progpath. Use $VIMRUNTIME instead of "runtime". (James McCoy, closes vim/vim#5025) https://github.com/vim/vim/commit/1ac41a5c1352306942344777d2ba86dccd84ffad
* vim-patch:8.2.0235: draw error when an empty group is removed from 'statusline'Björn Linse2020-02-09
| | | | | | Problem: Draw error when an empty group is removed from 'statusline'. Solution: Do not use highlighting from a removed group. https://github.com/vim/vim/commit/dbe5d361feb65137099644329cf0ecfd4a945a14
* vim-patch:8.2.0161: not recognizing .gv file as dot filetypeJan Edmund Lazo2020-02-01
| | | | | | Problem: Not recognizing .gv file as dot filetype. Solution: Add *.gv to dot pattern. (closes vim/vim#5544) https://github.com/vim/vim/commit/f8ddb25789a6af530e69f499907979dfbff1c1ea
* vim-patch:8.2.0190: detect Kotlin files [ci skip] #11796Alkeryn2020-02-01
| | | | | Problem: Kotlin files are not recognized. Solution: Detect Kotlin files. (Alkeryn, closes vim/vim#5560) https://github.com/vim/vim/commit/ab067a21b9622513ed75f4801b001606eeaf2474
* vim-patch:8.2.0016: test name used twice, option not restored properlyJan Edmund Lazo2020-01-30
| | | | | | Problem: Test name used twice, option not restored properly. Solution: Rename function, restore option with "&". https://github.com/vim/vim/commit/a48e78e11f2b647183fd12f569020756b17d7683
* vim-patch:8.2.0014: test69 and test95 are old styleJan Edmund Lazo2020-01-30
| | | | | | Problem: Test69 and test95 are old style. Solution: Convert to new style tests. (Yegappan Lakshmanan, closes vim/vim#5365) https://github.com/vim/vim/commit/afc13bd8271819c7871ff2ae2cfebb22190a0d39
* vim-patch:8.2.0077: settagstack() cannot truncate at current indexJan Edmund Lazo2020-01-29
| | | | | | Problem: settagstack() cannot truncate at current index. Solution: Add the "t" action. (Yegappan Lakshmanan, closes vim/vim#5417) https://github.com/vim/vim/commit/271fa08a35b8d320d3a40db4ddae83b698fdd4fb
* vim-patch:8.1.0446: options test fails in the GUIJan Edmund Lazo2020-01-29
| | | | | | Problem: Options test fails in the GUI. Solution: Don't try changing 'term' in the GUI. https://github.com/vim/vim/commit/4f888757257795969f2ab2e6fc3544a5bef3cdea
* vim-patch:8.1.0445: setting 'term' does not store location for termcap optionsJan Edmund Lazo2020-01-29
| | | | | | | Problem: Setting 'term' does not store location for termcap options. Solution: Set the script context for termcap options that are changed when 'term' is set. https://github.com/vim/vim/commit/35bc7d6c52f516b60d683bf9f0f57266d86e25b9
* vim-patch:8.2.0158: triggering CompleteDone earlier is not backwards compatibleJan Edmund Lazo2020-01-26
| | | | | | | Problem: Triggering CompleteDone earlier is not backwards compatible. (Daniel Hahler) Solution: Add CompleteDonePre instead. https://github.com/vim/vim/commit/3f169ce17e8b779d105c96138a8b4246f2d270b9
* vim-patch:8.1.1144: too strict checking of the 'spellfile' optionJan Edmund Lazo2020-01-26
| | | | | | Problem: Too strict checking of the 'spellfile' option. Solution: Allow for a path. https://github.com/vim/vim/commit/862f1e17eaf2b9c6617dfba31d8487cde462658d