summaryrefslogtreecommitdiff
path: root/src/syntax.c
AgeCommit message (Collapse)Author
2017-09-10patch 8.0.1088: occasional memory use after freeBram Moolenaar
Problem: Occasional memory use after free. Solution: Use the highlight table directly, don't keep a pointer.
2017-09-09patch 8.0.1078: using freed memory with ":hi Normal"Bram Moolenaar
Problem: Using freed memory with ":hi Normal". Solution: Get "item" again after updating the table.
2017-09-08patch 8.0.1072: :highlight command causes a redraw even when nothing changedBram Moolenaar
Problem: The :highlight command causes a redraw even when nothing changed. Solution: Only set "need_highlight_changed" when an attribute changed.
2017-09-02patch 8.0.1038: strike-through text not supportedBram Moolenaar
Problem: Strike-through text not supported. Solution: Add support for the "strikethrough" attribute. (Christian Brabandt, Ken Takata)
2017-08-19patch 8.0.0970: passing invalid highlight idBram Moolenaar
Problem: if there is no StatusLine highlighting and there is StatusLineNC or StatusLineTermNC highlighting then an invalid highlight id is passed to combine_stl_hlt(). (Coverity) Solution: Check id_S to be -1 instead of zero.
2017-08-14patch 8.0.0941: existing color schemes don't like StatusLineTermBram Moolenaar
Problem: Existing color schemes don't work well with StatusLineTerm. Solution: Don't use "reverse", use fg and bg colors. Also add StatusLineTermNC.
2017-08-13patch 8.0.0937: user highlight groups not adjusted for terminalBram Moolenaar
Problem: User highlight groups are not adjusted for StatusLineTerm. Solution: Combine attributes like for StatusLineNC.
2017-08-12patch 8.0.0921: terminal window cursor shape not supported in the GUIBram Moolenaar
Problem: Terminal window cursor shape not supported in the GUI. Solution: Use the terminal window cursor shape in the GUI.
2017-08-12patch 8.0.0914: highlight attributes are always combinedBram Moolenaar
Problem: Highlight attributes are always combined. Solution: Add the 'nocombine' value to replace attributes instead of combining them. (scauligi, closes #1963)
2017-08-01patch 8.0.0831: with 8 colors the bold attribute is not set properlyBram Moolenaar
Problem: With 8 colors the bold attribute is not set properly. Solution: Move setting HL_TABLE() out of lookup_color. (closes #1901)
2017-07-31patch 8.0.0825: not easy to see that a window is a terminal windowBram Moolenaar
Problem: Not easy to see that a window is a terminal window. Solution: Add StatusLineTerm highlighting.
2017-07-28patch 8.0.0791: terminal colors depend on the systemBram Moolenaar
Problem: Terminal colors depend on the system. Solution: Use the highlight color lookup tables.
2017-07-23patch 8.0.0760: terminal window colors wrong with 'termguicolors'Bram Moolenaar
Problem: Terminal window colors wrong with 'termguicolors'. Solution: Add 'termguicolors' support.
2017-07-23patch 8.0.0755: terminal window does not have colors in the GUIBram Moolenaar
Problem: Terminal window does not have colors in the GUI. Solution: Lookup the GUI color.
2017-07-23patch 8.0.0754: terminal window does not support colorsBram Moolenaar
Problem: Terminal window does not support colors. Solution: Lookup the color attribute.
2017-06-24patch 8.0.0673: build failure without conceal featureBram Moolenaar
Problem: Build failure without conceal feature. Solution: Add #ifdef.
2017-06-24patch 8.0.0672: third item of synconcealed() changes too oftenBram Moolenaar
Problem: Third item of synconcealed() changes too often. (Dominique Pelle) Solution: Reset the sequence number at the start of each line.
2017-06-22patch 8.0.0653: the default highlight for QuickFixLine is not goodBram Moolenaar
Problem: The default highlight for QuickFixLine does not work for several color schemes. (Manas Thakur) Solution: Make the default use the old color. (closes #1780)
2017-06-18patch 8.0.0647: syntax highlighting can make cause a freezeBram Moolenaar
Problem: Syntax highlighting can make cause a freeze. Solution: Apply 'redrawtime' to syntax highlighting, per window.
2017-06-17patch 8.0.0643: when a pattern search is slow Vim becomes unusableBram Moolenaar
Problem: When 'hlsearch' is set and matching with the last search pattern is very slow, Vim becomes unusable. Cannot quit search by pressing CTRL-C. Solution: When the search times out set a flag and don't try again. Check for timeout and CTRL-C in NFA loop that adds states.
2017-06-13patch 8.0.0641: cannot set a separate highlighting for the quickfix lineBram Moolenaar
Problem: Cannot set a separate highlighting for the current line in the quickfix window. Solution: Add QuickFixLine. (anishsane, closes #1755)
2017-06-13patch 8.0.0640: mismatch between help and actual messageBram Moolenaar
Problem: Mismatch between help and actual message for ":syn conceal". Solution: Change the message to match the help. (Ken Takata)
2017-06-04patch 8.0.0616: not always setting 'background' correctly after :hi NormalBram Moolenaar
Problem: When setting the cterm background with ":hi Normal" the value of 'background' may be set wrongly. Solution: Check that the color is less than 16. Don't set 'background' when it was set explicitly. (Lemonboy, closes #1710)
2017-03-26patch 8.0.0513: getting name of cleared highlight group is wrongBram Moolenaar
Problem: Getting name of cleared highlight group is wrong. (Matt Wozniski) Solution: Only skip over cleared names for completion. (closes #1592) Also fix that a cleared group causes duplicate completions.
2017-03-18patch 8.0.0481: unnecessary if statementBram Moolenaar
Problem: Unnecessary if statement. Solution: Remove the statement. Fix "it's" vs "its" mistakes. (Dominique Pelle, closes #1568)
2017-03-16patch 8.0.0466: still macros that should be all-capsBram Moolenaar
Problem: There are still a few macros that should be all-caps. Solution: Make a few more macros all-caps.
2017-03-12patch 8.0.0452: some macros are in lower caseBram Moolenaar
Problem: Some macros are in lower case. Solution: Make a few more macros upper case.
2017-03-12patch 8.0.0451: some macros are in lower caseBram Moolenaar
Problem: Some macros are in lower case. Solution: Make a few more macros upper case. Avoid lower case macros use an argument twice.
2017-03-12patch 8.0.0447: getting font name does not work on X11Bram Moolenaar
Problem: Getting font name does not work on X11. Solution: Implement gui_mch_get_fontname() for X11. Add more GUI tests. (Kazunobu Kuriyama)
2017-03-05patch 8.0.0425: build errors when building without foldingBram Moolenaar
Problem: Build errors when building without folding. Solution: Add #ifdefs. (John Marriott)
2017-02-25patch 8.0.0365: might free a dict item that wasn't allocatedBram Moolenaar
Problem: Might free a dict item that wasn't allocated. Solution: Call dictitem_free(). (Nikolai Pavlov) Use this for b:changedtick.
2017-02-17patch 8.0.0334: can't access b:changedtick from a dict referenceBram Moolenaar
Problem: Can't access b:changedtick from a dict reference. Solution: Make changedtick a member of the b: dict. (inspired by neovim #6112)
2017-01-22patch 8.0.0220: completion of highlight names misses a few valuesBram Moolenaar
Problem: Completion for :match does not show "none" and other missing highlight names. Solution: Skip over cleared entries before checking the index to be at the end.
2017-01-22patch 8.0.0214: leaking memory when syntax cluster id is unknownBram Moolenaar
Problem: Leaking memory when syntax cluster id is unknown. (Coverity) Solution: Free the memory.
2017-01-17patch 8.0.0204: compiler warns for uninitialized variableBram Moolenaar
Problem: Compiler warns for uninitialized variable. (Tony Mechelynck) Solution: When skipping set "id" to -1.
2017-01-17patch 8.0.0201: completion of highlight groups includes cleared namesBram Moolenaar
Problem: When completing a group name for a highlight or syntax command cleared groups are included. Solution: Skip groups that have been cleared.
2017-01-17patch 8.0.0198: some syntax arguments take effect even after "if 0"Bram Moolenaar
Problem: Some syntax arguments take effect even after "if 0". (Taylor Venable) Solution: Properly skip the syntax statements. Make "syn case" and "syn conceal" report the current state. Fix that "syn clear" didn't reset the conceal flag. Add tests for :syntax skipping properly.
2017-01-08patch 8.0.0157: no completion for :syntax spell and :syntax syncBram Moolenaar
Problem: No command line completion for ":syntax spell" and ":syntax sync". Solution: Implement the completion. (Dominique Pelle)
2017-01-08patch 8.0.0155: ubsan complains about NULL pointerBram Moolenaar
Problem: When sorting zero elements a NULL pointer is passed to qsort(), which ubsan warns for. Solution: Don't call qsort() if there are no elements. (Dominique Pelle)
2017-01-02patch 8.0.0142Bram Moolenaar
Problem: Normal colors are wrong with 'termguicolors'. Solution: Initialize to INVALCOLOR instead of zero. (Ben Jackson, closes #1344)
2016-08-29patch 7.4.2293Bram Moolenaar
Problem: Modelines in source code are inconsistant. Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
2016-08-22patch 7.4.2243Bram Moolenaar
Problem: Warning for assigning negative value to unsigned. (Danek Duvall) Solution: Make cterm_normal_fg_gui_color and _bg_ guicolor_T, cast to long_u only when an unsigned is needed.
2016-08-14patch 7.4.2213Bram Moolenaar
Problem: Cannot highlight the "~" lines at the end of a window differently. Solution: Add the EndOfBuffer highlighting. (Marco Hinz, James McCoy)
2016-08-14patch 7.4.2209Bram Moolenaar
Problem: Cannot map <M-">. (Stephen Riehm) Solution: Solve the memory access problem in another way. (Dominique Pelle) Allow for using <M-\"> in a string.
2016-05-28patch 7.4.1854Bram Moolenaar
Problem: When setting 'termguicolors' the Ignore highlighting doesn't work. (Charles Campbell) Solution: Handle the color names "fg" and "bg" when the GUI isn't running and no colors are speficied, fall back to black and white.
2016-05-01patch 7.4.1812Bram Moolenaar
Problem: Failure on startup with Athena and Motif. Solution: Check for INVALCOLOR. (Kazunobu Kuriyama)
2016-04-30patch 7.4.1800Bram Moolenaar
Problem: Unnecessary #ifdef. Solution: Just use USE_24BIT. (Ken Takata)
2016-04-29patch 7.4.1799Bram Moolenaar
Problem: 'guicolors' is a confusing option name. Solution: Use 'termguicolors' instead. (Hirohito Higashi)
2016-04-22patch 7.4.1774Bram Moolenaar
Problem: Cterm true color feature has warnings. Solution: Add type casts.
2016-04-22patch 7.4.1773Bram Moolenaar
Problem: Compiler warnings. (Dominique Pelle) Solution: Add UNUSED. Add type cast. Avoid a buffer overflow.