| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Problem: Cannot complete user names.
Solution: Add user name completion. (Dominique Pelle)
|
|
|
|
|
|
| |
Problem: There is no way to make 'shiftwidth' follow 'tabstop'.
Solution: When 'shiftwidth' is zero use the value of 'tabstop'. (Christian
Brabandt)
|
|
|
|
|
| |
Problem: Auto formatting messes up text when 'fo' contains "2". (ZyX)
Solution: Decrement "less_cols". (Tor Perkins)
|
|
|
|
|
| |
Problem: Crash when $HOME is not set.
Solution: Check for a NULL pointer. (Chris Webb)
|
|
|
|
|
| |
Problem: Formatting of lists inside comments is not right yet.
Solution: Use another solution and add a test. (Tor Perkins)
|
|
|
|
|
| |
Problem: Warning for pointer conversion.
Solution: Add type cast.
|
|
|
|
|
| |
Problem: home_replace() does not work with 8.3 filename.
Solution: Make ":p" expand 8.3 name to full path. (Yasuhiro Matsumoto)
|
|
|
|
|
| |
Problem: Memory access error. (Gary Johnson)
Solution: Allocate one more byte. (Dominique Pelle)
|
|
|
|
|
| |
Problem: Compiler warnings on 64 bit Windows.
Solution: Add type casts. (Mike Williams)
|
|
|
|
|
|
| |
Problem: Formatting inside comments does not use the "2" flag in
'formatoptions'.
Solution: Support the "2" flag. (Tor Perkins)
|
|
|
|
|
|
| |
Problem: In 'cinoptions' "0s" is interpreted as one shiftwidth. (David
Pineau)
Solution: Use the zero as zero. (Lech Lorens)
|
|
|
|
|
| |
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: 'wildignorecase' only applies to the last part of the path.
Solution: Also ignore case for letters earlier in the path.
|
|
|
|
|
| |
Problem: Compiler warnings.
Solution: Add function declaration. Remove "offset" argument.
|
|
|
|
|
| |
Problem: Two unused variables.
Solution: Remove them. (Hong Xu)
|
|
|
|
|
| |
Problem: Can't indent conditions separately from function arguments.
Solution: Add the 'k' flag in 'cino. (Lech Lorens)
|
|
|
|
|
|
| |
Problem: When setting $VIMRUNTIME later the directory for fetching
translated messages is not adjusted.
Solution: Put bindtextdomain() in vim_setenv().
|
|
|
|
|
|
|
| |
Problem: Fetching a key at a prompt may be confused by escape sequences.
Especially when getting a prompt at a VimEnter autocommand.
(Alex Efros)
Solution: Properly handle escape sequences deleted by check_termcode().
|
|
|
|
|
|
| |
Problem: ":cd" doesn't work when the path contains wildcards. (Yukihiro
Nakadaira)
Solution: Ignore wildcard errors when the EW_NOTWILD flag is used.
|
|
|
|
|
| |
Problem: C-indenting wrong for a function header.
Solution: Skip to the start paren. (Lech Lorens)
|
|
|
|
|
| |
Problem: C-indenting wrong for static enum.
Solution: Skip over "static". (Lech Lorens)
|
|
|
|
|
|
| |
Problem: C indenting is wrong after #endif followed by a semicolon.
Solution: Add special handling for a semicolon in a line by itself. (Lech
Lorens)
|
|
|
|
|
| |
Problem: Using "o" with 'cindent' set may freeze Vim. (lolilolicon)
Solution: Skip over {} correctly. (Hari G)
|
|
|
|
|
|
| |
Problem: Indent after "public:" is not increased in C++ code. (Lech Lorens)
Solution: Check for namespace after the regular checks. (partly by Martin
Gieseking)
|
|
|
|
|
|
| |
Problem: When 'smartindent' and 'copyindent' are set a Tab is used even
though 'expandtab' is set.
Solution: Do not insert Tabs. Add a test. (Christian Brabandt)
|
|
|
|
|
|
|
|
| |
Problem: When the current directory name contains wildcard characters, such
as "foo[with]bar", the tags file can't be found. (Jeremy
Erickson)
Solution: When searching for matching files also match without expanding
wildcards. This is a bit of a hack.
|
|
|
|
|
|
| |
Problem: When editing a file such as "File[2010-08-15].vim" an E16 error is
given. (Manuel Stol)
Solution: Don't give an error for failing to compile the regexp.
|
|
|
|
|
| |
Problem: Wrong indenting for array initializer.
Solution: Detect '}' in a better way. (Lech Lorens)
|
|
|
|
|
| |
Problem: Javascript object literal is not indented correctly.
Solution: Make a special case for when "J1" is in 'cino'. (Luc Deschenaux)
|
|
|
|
|
| |
Problem: Compiler warning.
Solution: Add type cast. (Mike Williams)
|
|
|
|
|
| |
Problem: Cannot influence the indent inside a namespace.
Solution: Add the "N" 'cino' parameter. (Konstantin Lepa)
|
|
|
|
|
| |
Problem: "} else" still causes following lines to be indented too much.
Solution: Better detection for the "else" block. (Lech Lorens)
|
|
|
|
|
|
| |
Problem: "} else" causes following lines to be indented too much. (Rouben
Rostamian)
Solution: Better detection for the "else". (Lech Lorens)
|
|
|
|
|
| |
Problem: The RISC OS port has obvious errors and is not being maintained.
Solution: Remove the RISC OS files and code.
|
|
|
|
|
| |
Problem: Compiler warning for uninitialized variable.
Solution: Add dummy initializer.
|
|
|
|
|
|
|
| |
Problem: When both a middle part of 'comments' matches and an end part, the
middle part was used errornously.
Solution: After finding the middle part match continue looking for a better
end part match. (partly by Lech Lorens)
|
|
|
|
|
| |
Problem: C-indent doesn't handle colon in string correctly.
Solution: Skip the string. (Lech Lorens)
|
|
|
|
|
| |
Problem: C-indent doesn't handle code right after { correctly.
Solution: Fix detecting unterminated line. (Lech Lorens)
|
|
|
|
|
|
| |
Problem: Freeing memory already freed, warning from static code analyzer.
Solution: Initialize pointers to NULL, correct use of "mustfree". (partly by
Dominique Pelle)
|
|
|
|
|
|
|
| |
Problem: C-indenting: a preprocessor statement confuses detection of a
function delcaration.
Solution: Ignore preprocessor lines. (Lech Lorens) Also recognize the style
to put a comma before the argument name.
|
|
|
|
|
|
| |
Problem: Unsafe string copying.
Solution: Use vim_strncpy() instead of strcpy(). Use vim_strcat() instead
of strcat().
|
|
|
|
|
| |
Problem: Might use uninitialized memory in C indenting.
Solution: Init arrays to empty.
|
|
|
|
|
| |
Problem: Superfluous assignment.
Solution: Remove assignment.
|
|
|
|
|
| |
Problem: When 'lazyredraw' is set ":ver" output can't be read.
Solution: Don't redraw the screen when at a prompt or command line.
|
|
|
|
|
|
| |
Problem: When 'lazyredraw' is set the screen may not be updated. (Ivan
Krasilnikov)
Solution: Call update_screen() before waiting for input.
|
|
|
|
|
|
| |
Problem: Changing 'fileformat' and then using ":w" in an empty file sets
the 'modified' option.
Solution: In unchanged() don't ignore 'ff' for an empty file.
|
|
|
|
|
|
| |
Problem: "vim -w foo" writes special key codes for removed escape
sequences. (Josh Triplett)
Solution: Don't write K_IGNORE codes.
|
|
|
|
|
| |
Problem: Can't complete file names while ignoring case.
Solution: Add 'wildignorecase'.
|
|
|
|
|
|
|
| |
Problem: ":find" completion doesn't work when halfway an environment
variable. (Dominique Pelle)
Solution: Only use in-path completion when expanding file names. (Nazri
Ramliy)
|