| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Problem: It is not easy to edit a script that was sourced.
Solution: Add a count to ":scriptnames", so that ":script 40" edits the
script with script ID 40.
|
|
|
|
|
|
| |
Problem: Saved last search pattern may not be restored.
Solution: Call restore_last_search_pattern(). Add a check for balancing
saving and restoring the last search pattern.
|
|
|
|
|
|
|
| |
Problem: Expression evaluation may repeat an error message. (Jason
Franklin)
Solution: Check for the value of did_emsg when giving an error
for the :execute command.
|
|
|
|
|
|
|
| |
Problem: Expression evaluation may repeat an error message. (Jason
Franklin)
Solution: Increment did_emsg and check for the value when giving an error
for the echo command.
|
|
|
|
|
| |
Problem: Netbeans test depends on README.txt contents.
Solution: Use a generated file instead.
|
|
|
|
|
| |
Problem: Crash when job callback unloads a buffer. (James McCoy)
Solution: Don't round up the wait time to 10 msec in ui_inchar().
|
|
|
|
|
| |
Problem: Modeline test with keymap still fails.
Solution: Check that the keymap feature is available for the failure assert.
|
|
|
|
|
| |
Problem: Modeline test with keymap fails.
Solution: Check that the keymap feature is available.
|
|
|
|
|
| |
Problem: When executing indent tests user preferences interfere.
Solution: Add "--clean".
|
| |
|
|
|
|
|
|
|
| |
Problem: Setting 'filetype' in a modeline causes an error (Hirohito
Higashi).
Solution: Don't add the P_INSECURE flag when setting 'filetype' from a
modeline. Also for 'syntax'.
|
|
|
|
|
|
| |
Problem: Coverity warns for leaking memory and using wrong struct.
Solution: Free pointer when allocation fails. Change "boff" to "loff".
(closes #3634)
|
|
|
|
|
|
|
| |
Problem: shiftwidth() does not take 'vartabstop' into account.
Solution: Use the cursor position or a position explicitly passed.
Also make >> and << work better with 'vartabstop'. (Christian
Brabandt)
|
|
|
|
|
| |
Problem: Help message in dosinst.c is outdated.
Solution: Update the comment. (Ken Takata, closes #3626)
|
|
|
|
|
|
|
| |
Problem: May evaluate insecure value when appending to option.
Solution: Set the secure flag when changing an option that was previously
set insecurely. Also allow numbers for the characters from
'spelllang' that are used for LANG.vim.
|
|
|
|
|
|
|
| |
Problem: Cannot build without the sandbox.
Solution: Set the secure option instead of using the sandbox. Also restrict
the characters from 'spelllang' that are used for LANG.vim.
(suggested by Yasuhiro Matsumoto)
|
|
|
|
|
|
| |
Problem: Evaluating a modeline might invoke using a shell command. (Paul
Huber)
Solution: Set the sandbox flag when setting options from a modeline.
|
|
|
|
|
| |
Problem: ui_breakcheck() may be called recursively, which doesn't work.
Solution: When called recursively, just return. (James McCoy, closes #3617)
|
|
|
|
|
|
| |
Problem: File time test fails when using NFS.
Solution: Use three file times instead of localtim(). (James McCoy,
closes #3618)
|
|
|
|
|
|
| |
Problem: Increment/decrement might get interrupted by updating folds.
Solution: Disable fold updating for a moment. (Christian Brabandt,
closes #3599)
|
|
|
|
|
|
| |
Problem: MS-Windows installer uses different $HOME than Vim.
Solution: Use the Vim logic also in the MS-Windows installer. (Ken Takata,
closes #3564)
|
|
|
|
|
| |
Problem: Screendump tests can be flaky.
Solution: Add VerifyScreenDump to the pattern of flaky tests.
|
|
|
|
|
| |
Problem: Cannot distinguish between quickfix and location list.
Solution: Add an explicit type variable. (Yegappan Lakshmanan)
|
|
|
|
|
| |
Problem: Flaky tests often fail with a common error message.
Solution: Add a pattern to match an error message indicating a flaky test.
|
|
|
|
|
|
| |
Problem: Channel and terminal tests that start a server can be flaky.
Solution: Add all channel and terminal tests that start a server to the list
of flaky tests.
|
|
|
|
|
|
| |
Problem: Flaky test sometimes fails in different ways.
Solution: When the second run gives a different error, try running the test
again, up to five times.
|
|
|
|
|
| |
Problem: Various typos in comments.
Solution: Fix the typos.
|
| |
|
|
|
|
|
| |
Problem: Using 'shiftwidth' from wrong buffer for folding.
Solution: Use "buf" instead of "curbuf". (Christian Brabandt)
|
|
|
|
|
| |
Problem: Running out of signal stack in RealWaitForChar. (Vladimir Marek)
Solution: Make the fd_set variables static.
|
|
|
|
|
|
| |
Problem: Terminal test skips part on Windows.
Solution: Fix Test_terminal_does_not_truncate_last_newlines(). (Hirohito
Higashi, closes #3606)
|
|
|
|
|
| |
Problem: Terminal test fails on Windows.
Solution: Skip Test_terminal_does_not_truncate_last_newlines() for now.
|
|
|
|
|
| |
Problem: Opening window from quickfix leaves empty buffer behind.
Solution: Add qf_jump_newwin(). (Yegappan Lakshmanan, closes #2574)
|
|
|
|
|
| |
Problem: :terminal does not show trailing empty lines.
Solution: Add empty lines. (Hirohito Higashi, closes #3605)
|
|
|
|
|
| |
Problem: Cannot build with +eval but without +quickfix.
Solution: Remove #ifdef for e_stringreq. (John Marriott)
|
|
|
|
|
| |
Problem: Screen diff test sometimes fails.
Solution: Add to list of flaky tests.
|
|
|
|
|
|
| |
Problem: Cannot save and restore the tag stack.
Solution: Add gettagstack() and settagstack(). (Yegappan Lakshmanan,
closes #3604)
|
|
|
|
|
| |
Problem: Test_window_split_edit_bufnr() fails on AppVeyor.
Solution: Disable the failing part for now.
|
|
|
|
|
| |
Problem: Test_window_split_edit_alternate() fails on AppVeyor.
Solution: Disable the failing part for now.
|
|
|
|
|
| |
Problem: :move command marks buffer modified when nothing changed.
Solution: Do not set 'modified'. Add a test. (Jason Franklin)
|
|
|
|
|
| |
Problem: Reloading a script gives errors for existing functions.
Solution: Allow redefining a function once when reloading a script.
|
|
|
|
|
|
| |
Problem: CTRL-W ^ does not work when alternate buffer has no name.
Solution: Use another method to split and edit the alternate buffer. (Jason
Franklin)
|
|
|
|
|
| |
Problem: No error for set diffopt+=algorithm:.
Solution: Check for missing argument. (Hirohito Higashi, closes #3598)
|
|
|
|
|
| |
Problem: 'helplang' default is inconsistent for C and C.UTF-8.
Solution: Don't accept a value unless it starts with two letters.
|
|
|
|
|
| |
Problem: ml_get error when calling a function with a range.
Solution: Don't position the cursor after the last line.
|
| |
|
|
|
|
|
|
| |
Problem: Filter test fails when $LANG is C.UTF-8.
Solution: Set 'helplang' to "en" for any C language. (Christian Brabandt,
closes #3577)
|
|
|
|
|
| |
Problem: Checking cwd not accessible fails for root. (James McCoy)
Solution: Skip this part of the test for root. (closes #3595)
|
|
|
|
|
| |
Problem: Suspend test fails when run by root.
Solution: Accept both '$' and '#' for the prompt. (James McCoy, closes #3590)
|
|
|
|
|
| |
Problem: .raml files not properly detected.
Solution: Recognize .raml as raml instead of yaml. (closes #3594)
|