| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Problem: Unnecessary code.
Solution: Remove code and replace with function call. (closes #10552)
|
|
|
|
|
|
| |
Problem: Timer_create is not available on every Mac system. (Hisashi T
Fujinaka)
Solution: Adjust #ifdef.
|
|
|
|
|
| |
Problem: Conceal character from matchadd() displayed too many times.
Solution: Check the syntax flag. (closes #10381, closes #7268)
|
|
|
|
|
| |
Problem: The mode #defines are not clearly named.
Solution: Prepend MODE_. Renumber them to put the mapped modes first.
|
|
|
|
|
|
| |
Problem: Redrawing too much when 'cursorline' is set and jumping around.
Solution: Rely on win_update() to redraw the current and previous cursor
line, do not mark lines as modified. (closes #9996)
|
|
|
|
|
| |
Problem: Some conditions are always true.
Solution: Remove the useless conditions. (closes #9993)
|
|
|
|
|
|
| |
Problem: Confusing comment about 'cursorlineopt'.
Solution: Adjust comment. (closes #9939) Add parenthesis around logical
OR.
|
|
|
|
|
| |
Problem: Build failure without the +diff feature. (John Marriott)
Solution: Define filler+lines if not declaring it.
|
|
|
|
|
|
| |
Problem: Using wrong highlight for cursor line number.
Solution: Take filler lines into account when using CursorLineNr.
(closes #9897)
|
|
|
|
|
| |
Problem: Coverity warns for uninitialized variable.
Solution: Set can_spell to zero.
|
|
|
|
|
| |
Problem: Missing parenthesis may cause unexpected problems.
Solution: Add more parenthesis is macros. (closes #9788)
|
|
|
|
|
| |
Problem: Theoretical computation overflow.
Solution: Perform multiplication in a wider type. (closes #9657)
|
|
|
|
|
| |
Problem: Some type casts are redundant.
Solution: Remove the type casts. (closes #9643)
|
|
|
|
|
|
| |
Problem: Match highlighting of tab too short.
Solution: Do not stop match highlighting if on a Tab. (Christian Brabandt,
closes #9507, closes #9500)
|
|
|
|
|
| |
Problem: Various spelling mistakes in comments.
Solution: Fix the mistakes. (Dominique Pellé, closes #9416)
|
|
|
|
|
| |
Problem: Cannot highlight the number column for a sign.
Solution: Add the "numhl" argument. (James McCoy, closes #9381)
|
|
|
|
|
| |
Problem: When using 'linebreak' a text property starts too early.
Solution: Decrement "bcol" when looking for property start. (closes #9242)
|
|
|
|
|
|
| |
Problem: Compiler warns for unused variable without the +textprop feature.
(John Marriott)
Solution: Adjust #ifdefs.
|
|
|
|
|
| |
Problem: Text property highlighting is used on Tab.
Solution: Only set in_linebreak when not on a Tab. (closes #9242)
|
|
|
|
|
| |
Problem: Text property highlighting continues over breakindent.
Solution: Stop before the end column. (closes #9242)
|
|
|
|
|
| |
Problem: Match highlighting continues over breakindent.
Solution: Stop before the end column. (closes #9242)
|
|
|
|
|
|
| |
Problem: Cannot adjust sign highlighting for 'cursorline'.
Solution: Add CursorLineSign and CursorLineFold highlight groups.
(Gregory Anders, closes #9201)
|
|
|
|
|
| |
Problem: A sequence of spaces is hard to see in list mode.
Solution: Add the "multispace" option to 'listchars'. (closes #8834)
|
|
|
|
|
| |
Problem: Crash with linebreak, listchars and large tabstop.
Solution: Account for different size listchars for a tab. (closes #8841)
|
|
|
|
|
|
| |
Problem: Crash with combination of 'linebreak' and other options.
Solution: Avoid n_extra to become negative. (Christian Brabandt,
closes #8817)
|
|
|
|
|
|
| |
Problem: 'cursorline' should not apply to 'breakindent'.
Solution: Make 'cursorline' apply to 'breakindent' and 'showbreak'
consistently. (closes #8684)
|
|
|
|
|
|
|
| |
Problem: 'listchars' "exceeds" character appears in foldcolumn. Window
separator is missing. (Leonid V. Fedorenchik)
Solution: Only draw the "exceeds" character in the text area. Break the
loop when not drawing the text. (closes #8524)
|
|
|
|
|
|
|
| |
Problem: When 'rightleft' is set the line number is sometimes drawn
reversed.
Solution: Adjust how space is handled. (Christian Brabandt, closes #8389,
closes #8391)
|
|
|
|
|
|
| |
Problem: Cursor position wrong on wrapped line with 'signcolumn'.
Solution: Don't add space for showbreak twice. (Christian Brabandt,
closes #8262)
|
|
|
|
|
| |
Problem: Search highlight disappears in the Visual area.
Solution: Combine the search attributes. (closes #8134)
|
|
|
|
|
| |
Problem: Compiler warning for type conversion.
Solution: Add a typecast. (Mike Williams)
|
|
|
|
|
|
| |
Problem: Cannot use multibyte characters for folding in 'fillchars'.
Solution: Port pull request 11568 to Vim. (Yegappan Lakshmanan,
closes #7924)
|
|
|
|
|
|
| |
Problem: 'listchars' should be window-local.
Solution: Make 'listchars' global-local. (Yegappan Lakshmanan, Marco Hinz,
closes #5206, closes #7850)
|
|
|
|
|
|
| |
Problem: Text property for text left of window shows up.
Solution: Check if the text property ends before the current column.
(closes #7806)
|
|
|
|
|
| |
Problem: Leading space can not be made visible.
Solution: Add "lead:" to 'listchars'. (closes #7772)
|
|
|
|
|
| |
Problem: Highlighting a character too much with incsearch.
Solution: Check "search_match_endcol". (Christian Brabandt, closes #7360)
|
|
|
|
|
| |
Problem: Build error with +conceal but without +popupwin.
Solution: Add #ifdef. (Tom Ryder, closes #7316)
|
|
|
|
|
|
| |
Problem: Cursor position wrong in terminal popup with finished job.
Solution: Only add the top and left offset when not done already.
(closes #7298)
|
|
|
|
|
|
| |
Problem: Diff and cursorcolumn highlighting don't mix.
Solution: Fix condition for what attribute to use. (Christian Brabandt,
closes #7258, closes #7260)
|
|
|
|
|
|
| |
Problem: 'colorcolumn' doesn't show in indent.
Solution: Also draw the column when draw_state is WL_BRI or WL_SBR.
(Alexey Demin, closes #6948, closes #6619)
|
|
|
|
|
|
| |
Problem: Cursorline highlighting always overrules sign highlighting.
Solution: Combine the highlighting, use the priority to decide how.
(closes #6812)
|
|
|
|
|
|
| |
Problem: Multiline conceal causes display errors.
Solution: Do not allow conceal cross over EOL. (closes #6326, closes #4854,
closes #6302)
|
|
|
|
|
| |
Problem: Wrong display when mixing match conceal and syntax conceal.
Solution: Adjust how conceal flags are used. (closes #6327, closes #6303)
|
|
|
|
|
|
| |
Problem: Line numbers below filler lines not always updated.
Solution: Don't break out of the win_line() loop too early. (Christian
Brabandt, closes #6294, closes #6138)
|
|
|
|
|
| |
Problem: Displaying ^M or ^J depends on current buffer.
Solution: Pass the displayed buffer to transchar(). (closes #6225)
|
|
|
|
|
|
| |
Problem: Display error when using 'number' and 'breakindent'.
Solution: Adjust extra spaces in the first row. (Ken Takata, closes #6089,
closes #5986)
|
|
|
|
|
| |
Problem: Build error when disabling the diff feature.
Solution: Move parenthesis outside of #ifdef. (Tom Ryder)
|
|
|
|
|
| |
Problem: Typos and other small problems.
Solution: Fix the typos. Add missing files to the distribution.
|
|
|
|
|
| |
Problem: Window-local values have confusing name.
Solution: Rename w_p_bri* to w_briopt_*.
|
|
|
|
|
|
| |
Problem: 'showbreak' does not work for a very long line. (John Little)
Solution: Check whether 'briopt' contains "sbr". (Ken Takata, closes #5523,
closes #5684)
|