| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Problem: Calling changed_bytes() too often.
Solution: Move changed_bytes() out of a loop. (Tor Perkins)
|
|
|
|
|
| |
Problem: Formatting of lists inside comments is not right yet.
Solution: Use another solution and add a test. (Tor Perkins)
|
|
|
|
|
|
| |
Problem: Redo after completion does not work correctly when refresh: always
is not used. (Raymond Ko)
Solution: Check the compl_opt_refresh_always flag. (Christian Brabandt)
|
|
|
|
|
|
| |
Problem: Using refresh: always in a complete function breaks the "."
command. (Val Markovic)
Solution: Add match leader to the redo buffer. (Yasuhiro Matsumoto)
|
|
|
|
|
|
| |
Problem: Formatting inside comments does not use the "2" flag in
'formatoptions'.
Solution: Support the "2" flag. (Tor Perkins)
|
|
|
|
|
| |
Problem: When joining lines comment leaders need to be removed manually.
Solution: Add the 'j' flag to 'formatoptions'. (Lech Lorens)
|
|
|
|
|
|
| |
Problem: Many #ifdefs for MB_MAXBYTES.
Solution: Also define MB_MAXBYTES without the +multi_byte feature. Fix
places where the buffer didn't include space for a NUL byte.
|
|
|
|
|
| |
Problem: When using an InsertCharPre autocommand autoindent fails.
Solution: Proper handling of v:char. (Alexey Radkov)
|
|
|
|
|
|
| |
Problem: When completefunction returns it cannot indicate end of completion
mode.
Solution: Recognize completefunction returning -3. (Mtsushita Shougo)
|
|
|
|
|
|
| |
Problem: Cannot use CTRL-E and CTRL-Y with "r".
Solution: Make CTRL-E and CTRL-Y work like in Insert mode. (Christian
Brabandt)
|
|
|
|
|
|
| |
Problem: CTRL-] in Insert mode does not expand abbreviation when used in a
mapping. (Yichao Zhou)
Solution: Special case using CTRL-]. (Christian Brabandt)
|
|
|
|
|
|
|
| |
Problem: The InsertCharPre autocommand event is not triggered during
completion and when typing several characters quickly.
Solution: Also trigger InsertCharPre during completion. Do not read ahead
when an InsertCharPre autocommand is defined. (Yasuhiro Matsumoto)
|
|
|
|
|
|
|
| |
Problem: With '$' in 'cpoptions' the $ is not displayed in the first
column.
Solution: Use -1 instead of 0 as a special value. (Hideki Eiraku and
Hirohito Higashi)
|
|
|
|
|
|
| |
Problem: When a user complete function returns -1 an error message is
given.
Solution: When -2 is returned stop completion silently. (Yasuhiro Matsumoto)
|
|
|
|
|
|
|
| |
Problem: When a complete function uses refresh "always" redo will not work
properly.
Solution: Do not reset compl_leader when compl_opt_refresh_always is set.
(Yasuhiro Matsumoto)
|
|
|
|
|
| |
Problem: Compiler warnings for shadowed variables.
Solution: Remove or rename the variables.
|
|
|
|
|
|
| |
Problem: Mapping CTRL-K in Insert mode breaks CTRL-X CTRL-K for dictionary
completion.
Solution: Add CTRL-K to the list of recognized keys. (James McCoy)
|
|
|
|
|
|
| |
Problem: Text formatting uses start of insert position when it should not.
(Peter Wagenaar)
Solution: Do not use Insstart when intentionally formatting.
|
|
|
|
|
| |
Problem: Redobuff doesn't always include changes of the completion leader.
Solution: Insert backspaces as needed. (idea by Taro Muraoka)
|
|
|
|
|
|
|
| |
Problem: Complete function isn't called when the leader changed.
Solution: Allow the complete function to return a dictionary with a flag
that indicates ins_compl_restart() is to be called when the leader
changes. (Taro Muraoka)
|
|
|
|
|
| |
Problem: Patch 289 causes more problems than it solves.
Solution: Rever the patch untill a better solution is found.
|
|
|
|
|
| |
Problem: Complete function isn't called when the leader changed.
Solution: Call ins_compl_restart() when the leader changed. (Taro Muraoka)
|
|
|
|
|
| |
Problem: Can't intercept a character that is going to be inserted.
Solution: Add the InsertCharPre autocommand event. (Jakson A. Aquino)
|
|
|
|
|
|
| |
Problem: When repeating the insert of CTRL-V or a digraph the display may
not be updated correctly.
Solution: Only call edit_unputchar() after edit_putchar(). (Lech Lorens)
|
|
|
|
|
|
|
| |
Problem: complete() function doesn't reset complete direction. Can't use
an empty string in the list of matches.
Solution: Set compl_direction to FORWARD. Add "empty" key to allow empty
words. (Kikuchan)
|
|
|
|
|
|
|
| |
Problem: When 'completefunc' opens a new window all kinds of errors follow.
(Xavier Deguillard)
Solution: When 'completefunc' goes to another window or buffer and when it
deletes text abort completion. Add a test for 'completefunc'.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
concealed or not.
Rename 'conc' to 'cole' as the short name for 'conceallevel'.
|
| |
|
|
|
|
| |
window the '?' or '^' on the next line is not redrawn. (Ian Kelling)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Problem: Invalid memory access when doing thesaurus completion and
'infercase' is set.
Solution: Use the minimal length of completed word and replacement.
(Dominique Pelle)
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Problem: In some situations the popup menu can be displayed wrong.
Solution: Remove the popup menu if the cursor moved. (Lech Lorens)
|
|
|
|
|
| |
Problem: Warnings from static code analysis.
Solution: Small changes to various lines. (Dominique Pelle)
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|