summaryrefslogtreecommitdiff
path: root/src/testdir
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.4019: Vim9: import mechanism is too complicatedv8.2.4019Bram Moolenaar2022-01-062-255/+167
| | | | | Problem: Vim9: import mechanism is too complicated. Solution: Do not use the Javascript mechanism but a much simpler one.
* patch 8.2.4018: ml_get error when win_execute redraws with Visual selectionv8.2.4018Bram Moolenaar2022-01-061-0/+10
| | | | | Problem: ml_get error when win_execute redraws with Visual selection. Solution: Disable Visual area temporarily. (closes #9479)
* patch 8.2.4016: Vim9: incorrect error for argument that is shadowing varv8.2.4016Bram Moolenaar2022-01-061-0/+15
| | | | | | Problem: Vim9: incorrect error for argument that is shadowing var. Solution: Ignore variable that is not in block where the function was defined.
* patch 8.2.4014: git and gitcommit file types not properly recognizedv8.2.4014Bram Moolenaar2022-01-051-1/+52
| | | | | Problem: Git and gitcommit file types not properly recognized. Solution: Adjust filetype detection. (Tim Pope, closes #9477)
* patch 8.2.4009: reading one byte beyond the end of the linev8.2.4009Bram Moolenaar2022-01-051-0/+11
| | | | | Problem: Reading one byte beyond the end of the line. Solution: Check for NUL byte first.
* patch 8.2.4007: session does not restore help buffer properlyv8.2.4007matveyt2022-01-051-0/+30
| | | | | | | Problem: Session does not restore help buffer properly when "options' is missing from 'sessionoptions'. Solution: Use a ":help" command to create the help window. (closes #9475, closes #9458, closes #9472)
* patch 8.2.4006: Vim9: crash when declaring variable on the command linev8.2.4006Bram Moolenaar2022-01-051-0/+18
| | | | | Problem: Vim9: crash when declaring variable on the command line. Solution: Use a temporary type list. (closes #9474)
* patch 8.2.4002: first char typed in Select mode can be wrongv8.2.4002zeertzjq2022-01-041-0/+52
| | | | | Problem: First char typed in Select mode can be wrong. Solution: Escape special bytes in the input buffer. (closes #9469)
* patch 8.2.3997: Vim9: not enough testing for extend() and map()v8.2.3997Bram Moolenaar2022-01-042-3/+35
| | | | | | Problem: Vim9: not enough testing for extend() and map(). Solution: Add more test cases. Fix uncovered problems. Remove unused type fields.
* patch 8.2.3996: Vim9: type checking lacks information about declared typev8.2.3996Bram Moolenaar2022-01-042-9/+39
| | | | | | | Problem: Vim9: type checking for list and dict lacks information about declared type. Solution: Add dv_decl_type and lv_decl_type. Refactor the type stack to store two types in each entry.
* patch 8.2.3995: not all sshconfig files are detected as suchv8.2.3995David Auer2022-01-031-1/+1
| | | | | | Problem: Not all sshconfig files are detected as such. Solution: Adjust the patterns used for sshconfig detection. (David Auer, closes #9322)
* patch 8.2.3994: Vim9: extend() complains about type when it was not declaredv8.2.3994Bram Moolenaar2022-01-031-2/+12
| | | | | | Problem: Vim9: extend() complains about the type even when it was not declared. Solution: Only check the list or dict type when it was declared.
* patch 8.2.3993: when recording a change in Select mode char appears twicev8.2.3993Bram Moolenaar2022-01-031-0/+11
| | | | | | | Problem: When recording a change in Select mode the first typed character appears twice. Solution: When putting the character back into typeahead remove it from recorded characters. (closes #9462)
* patch 8.2.3992: wrong local-additions in the help with language mixv8.2.3992h-east2022-01-031-7/+33
| | | | | | Problem: Wrong local-additions in the help with language mix. Solution: Adjust how the local additions list is generated. (Hirohito Higashi, closes #9464)
* patch 8.2.3991: Vim9: error when extending dict<any>v8.2.3991Bram Moolenaar2022-01-033-2/+18
| | | | | | | Problem: Vim9: error when extending dict<any> with another type that it was initialized with. Solution: Also set the type for dict<any> if the initializer has a more specific type. (closes #9461)
* patch 8.2.3990: testing wrong operatorv8.2.3990naohiro ono2022-01-031-1/+1
| | | | | Problem: Testing wrong operator. Solution: Test "g@" instead of "r_". (Naohiro Ono, closes #9463)
* patch 8.2.3989: some insert completion code is not testedv8.2.3989Yegappan Lakshmanan2022-01-032-2/+124
| | | | | | Problem: Some insert completion code is not tested. Solution: Add a few tests. Refactor thesaurus completion. (Yegappan Lakshmanan, closes #9460)
* patch 8.2.3984: debugger test failsv8.2.3984Bram Moolenaar2022-01-021-6/+11
| | | | | Problem: Debugger test fails. Solution: Adjust the test for modified debugging of a for loop.
* patch 8.2.3982: some lines of code not covered by testsv8.2.3982Dominique Pelle2022-01-025-4/+14
| | | | | Problem: Some lines of code not covered by tests. Solution: Add a few more test cases. (Dominique Pellé, closes #9453)
* patch 8.2.3981: Vim9: debugging a for loop doesn't stop before it startsv8.2.3981Bram Moolenaar2022-01-021-0/+37
| | | | | | Problem: Vim9: debugging a for loop doesn't stop before it starts. Solution: Keep the DEBUG instruction before the expression is evaluated. (closes #9456)
* patch 8.2.3980: if 'operatorfunc' invokes an operator Visual mode is changedv8.2.3980Bram Moolenaar2022-01-021-0/+14
| | | | | | | Problem: If 'operatorfunc' invokes an operator the remembered Visual mode may be changed. (Naohiro Ono) Solution: Save and restore the information for redoing the Visual area. (closes #9455)
* patch 8.2.3974: Vim9: LISTAPPEND instruction does not check for a locked listv8.2.3974Bram Moolenaar2022-01-011-0/+11
| | | | | Problem: Vim9: LISTAPPEND instruction does not check for a locked list. Solution: Check whether the list is locked. (closes #9452)
* patch 8.2.3969: value of MAXCOL not available in Vim scriptv8.2.3969naohiro ono2022-01-013-5/+17
| | | | | Problem: Value of MAXCOL not available in Vim script. Solution: Add v:maxcol. (Naohiro Ono, closes #9451)
* patch 8.2.3966: when using feedkeys() abbreviations may be blockedv8.2.3966Bram Moolenaar2022-01-011-0/+10
| | | | | | Problem: When using feedkeys() abbreviations may be blocked. Solution: Reset tb_no_abbr_cnt when running out of characters. (closes #9448)
* patch 8.2.3965: Vim9: no easy way to check if Vim9 script is supportedv8.2.3965Bram Moolenaar2022-01-011-0/+17
| | | | | Problem: Vim9: no easy way to check if Vim9 script is supported. Solution: Add has('vim9script').
* patch 8.2.3964: some common lisp and scheme files not recognizedv8.2.3964Alex Vear2022-01-011-2/+2
| | | | | | Problem: Some common lisp and scheme files not recognized. Solution: Recognize *.asd as lisp and *.sld as scheme. (Alex Vear, closes #9447)
* patch 8.2.3954: Vim9: no error for shadowing if script var is declared laterv8.2.3954Bram Moolenaar2021-12-312-3/+15
| | | | | Problem: Vim9: no error for shadowing if script var is declared later. Solution: Check argument names when compiling a function.
* patch 8.2.3952: first line not redrawn when adding lines to an empty bufferv8.2.3952zeertzjq2021-12-311-0/+44
| | | | | | Problem: First line not redrawn when adding lines to an empty buffer. Solution: Adjust the argument to appended_lines(). (closes #9439, closes #9438)
* patch 8.2.3951: Vim9: memory leak when text after a nested functionv8.2.3951Bram Moolenaar2021-12-301-3/+14
| | | | | Problem: Vim9: memory leak when text after a nested function. Solution: Free the function if text is found after "enddef".
* patch 8.2.3950: going beyond the end of the line with /\%Vv8.2.3950Bram Moolenaar2021-12-301-0/+8
| | | | | Problem: Going beyond the end of the line with /\%V. Solution: Check for valid column in getvcol().
* patch 8.2.3949: using freed memory with /\%Vv8.2.3949Bram Moolenaar2021-12-301-0/+8
| | | | | Problem: Using freed memory with /\%V. Solution: Get the line again after getvvcol().
* patch 8.2.3946: when an internal error makes Vim exit the error is not seenv8.2.3946Bram Moolenaar2021-12-301-0/+1
| | | | | Problem: When an internal error makes Vim exit the error is not seen. Solution: Add the error to the test output.
* patch 8.2.3945: Vim9: partial variable argument types are wrongv8.2.3945Bram Moolenaar2021-12-301-0/+30
| | | | | | | Problem: Vim9: partial variable argument types are wrong, leading to a crash. Solution: When adjusting the argument count also adjust the argument types. (closes #9433)
* patch 8.2.3944: insert mode completion functions are too longv8.2.3944Yegappan Lakshmanan2021-12-301-0/+19
| | | | | | Problem: Insert mode completion functions are too long. Solution: Split up into multiple functions. (Yegappan Lakshmanan, closes #9431)
* patch 8.2.3941: SIGTSTP is not handledv8.2.3941dbivolaru2021-12-291-0/+52
| | | | | Problem: SIGTSTP is not handled. Solution: Handle SIGTSTP like pressing CTRL-Z. (closes #9422)
* patch 8.2.3940: match highlight disappears when doing incsearch for ":s/pat"v8.2.3940Bram Moolenaar2021-12-293-0/+33
| | | | | Problem: Match highlight disappears when doing incsearch for ":s/pat". Solution: Only use line limit for incsearch highlighting. (closes #9425)
* patch 8.2.3939: MS-Windows: fnamemodify('', ':p') does not workv8.2.3939Yegappan Lakshmanan2021-12-291-0/+1
| | | | | | Problem: MS-Windows: fnamemodify('', ':p') does not work. Solution: Do not consider an empty string a full path. (Yegappan Lakshmanan, closes #9428, closes #9427)
* patch 8.2.3938: line comment start is also found in a stringv8.2.3938Bram Moolenaar2021-12-291-0/+15
| | | | | Problem: Line comment start is also found in a string. Solution: Skip line comments in a string.
* patch 8.2.3937: Insert mode completion function is too longv8.2.3937Yegappan Lakshmanan2021-12-291-1/+45
| | | | | | Problem: Insert mode completion function is too long. Solution: Refactor into multiple functions. (Yegappan Lakshmanan, closes #9423)
* patch 8.2.3936: no proper test for maintaining change mark in diff modev8.2.3936Sean Dewar2021-12-291-16/+24
| | | | | | Problem: No proper test for maintaining change mark in diff mode. Solution: Run the test with internal and external diff. (Sean Dewar, closes #9424)
* patch 8.2.3935: CTRL-U in Insert mode does not fix the indentv8.2.3935Bram Moolenaar2021-12-291-1/+16
| | | | | Problem: CTRL-U in Insert mode does not fix the indent. Solution: Fix the indent when 'cindent' is set.
* patch 8.2.3934: repeating line comment is undesired for "O" commandv8.2.3934Bram Moolenaar2021-12-291-0/+23
| | | | | Problem: Repeating line comment is undesired for "O" command. Solution: Do not copy line comment leader for "O". (closes #9426)
* patch 8.2.3933: after ":cd" fails ":cd -" is incorrectv8.2.3933Richard Doty2021-12-291-0/+7
| | | | | | Problem: After ":cd" fails ":cd -" is incorrect. Solution: Set the previous directory only after successfully changing directory. (Richard Doty, closes #9419, closes #8983)
* patch 8.2.3932: C line comment not formatted properlyv8.2.3932Bram Moolenaar2021-12-291-0/+15
| | | | | | Problem: C line comment not formatted properly. Solution: If a line comment follows after "#if" the next line is not the end of a paragraph.
* patch 8.2.3925: diff mode confused by NUL bytesv8.2.3925Bram Moolenaar2021-12-285-0/+117
| | | | | | Problem: Diff mode confused by NUL bytes. Solution: Handle NUL bytes differently. (Christian Brabandt, closes #9421, closes #9418)
* patch 8.2.3924: Vim9: no error if something follows :enddefv8.2.3924Bram Moolenaar2021-12-281-3/+12
| | | | | Problem: Vim9: no error if something follows :enddef in a nested function. Solution: Give an error. Move common code to a function.
* patch 8.2.3923: Vim9: double free with split argument list in nested functionv8.2.3923Bram Moolenaar2021-12-281-1/+19
| | | | | | Problem: Vim9: double free if a nested function has a line break in the argument list. Solution: Set cmdlinep when freeing the previous line.
* patch 8.2.3920: restoring directory after using another window is inefficientv8.2.3920Bram Moolenaar2021-12-281-0/+20
| | | | | | Problem: Restoring directory after using another window is inefficient. Solution: Only restore the directory for win_execute(). Apply 'autochdir' only when needed.
* patch 8.2.3919: Vim9: wrong argument for append() results in two errorsv8.2.3919Bram Moolenaar2021-12-281-1/+12
| | | | | | Problem: Vim9: wrong argument for append() results in two errors. Solution: Check did_emsg. Also for setline(). Adjust the help for appendbufline().
* patch 8.2.3918: function list test failsv8.2.3918Bram Moolenaar2021-12-271-6/+5
| | | | | Problem: Function list test fails. Solution: Adjust the test for the new location of the function list.