summaryrefslogtreecommitdiffstats
path: root/src/highlight.c
AgeCommit message (Collapse)Author
2021-10-24patch 8.2.3562: cannot add color namesv8.2.3562Drew Vogel
Problem: Cannot add color names. Solution: Add the v:colornames dictionary. (Drew Vogel, closes #8761)
2021-10-19patch 8.2.3541: compiler warning for unused variable in tiny versionv8.2.3541Bram Moolenaar
Problem: Compiler warning for unused variable in tiny version. Solution: Add #ifdef. (John Marriott)
2021-10-19patch 8.2.3538: else-if indenting is confusingv8.2.3538Yegappan Lakshmanan
Problem: Else-if indenting is confusing. Solution: Add curly brackets. (Yegappan Lakshmanan, closes #9017)
2021-10-18patch 8.2.3536: the do_highlight() function is way too longv8.2.3536Yegappan Lakshmanan
Problem: The do_highlight() function is way too long. Solution: Split it into several functions. (Yegappan Lakshmanan, closes #9011)
2021-10-15patch 8.2.3516: terminal window does not have transparent backgroundv8.2.3516Milly
Problem: Terminal window does not have transparent background when 'termguicolors' is used. Solution: Fix the background color. (closes #2361, closes #9002)
2021-06-02patch 8.2.2922: computing array length is done in various waysv8.2.2922K.Takata
Problem: Computing array length is done in various ways. Solution: Use ARRAY_LENGTH everywhere. (Ken Takata, closes #8305)
2020-09-29patch 8.2.1771: synIDattr() cannot get the value of ctermulv8.2.1771Bram Moolenaar
Problem: synIDattr() cannot get the value of ctermul. Solution: Add the "ul" value for "what". (closes #7037)
2020-09-18patch 8.2.1705: "verbose hi Name" reports incorrect info after ":hi clear"v8.2.1705Bram Moolenaar
Problem: "verbose hi Name" reports incorrect info after ":hi clear". Solution: Store the script context. (Antony Scriven, closes #6975)
2020-09-17patch 8.2.1703: ":highlight clear" does not restore default linkv8.2.1703Bram Moolenaar
Problem: ":highlight clear" does not restore default link. Solution: Remember the default link and restore it. (Antony Scriven, closes #6970, closes #4405)
2020-09-16patch 8.2.1693: "hi def" does not work for cleared highlightv8.2.1693Bram Moolenaar
Problem: "hi def" does not work for cleared highlight. Solution: Check the "sg_cleared" flag. (Maxim Kim, closes #6956, closes #4405)
2020-06-28patch 8.2.1078: highlight and match functionality together in one filev8.2.1078Bram Moolenaar
Problem: Highlight and match functionality together in one file. Solution: Move match functionality to a separate file. (Yegappan Lakshmanan, closes #6352)
2020-06-25patch 8.2.1056: wrong display when mixing match conceal and syntax concealv8.2.1056Bram Moolenaar
Problem: Wrong display when mixing match conceal and syntax conceal. Solution: Adjust how conceal flags are used. (closes #6327, closes #6303)
2020-06-12patch 8.2.0967: unnecessary type casts for vim_strnsave()v8.2.0967Bram Moolenaar
Problem: Unnecessary type casts for vim_strnsave(). Solution: Remove the type casts.
2020-06-07patch 8.2.0928: many type casts are used for vim_strnsave()v8.2.0928Bram Moolenaar
Problem: Many type casts are used for vim_strnsave(). Solution: Make the length argument size_t instead of int. (Ken Takata, closes #5633) Remove some type casts.
2020-06-05patch 8.2.0906: when setting 'termguicolors' SpellBad is no longer redv8.2.0906Bram Moolenaar
Problem: When setting 'termguicolors' SpellBad is no longer red. Solution: Only use the RGB guisp color for cterm when using the "underline" or "undercurl" attributes to avoid the background color to be cleared. Also make t_8u empty when the termresponse indicates a real xterm. (closes #6207)
2020-06-03patch 8.2.0891: clang warns for invalid conversionv8.2.0891Bram Moolenaar
Problem: Clang warns for invalid conversion. Solution: Use zero instead of INVALCOLOR.
2020-06-02patch 8.2.0890: no color in terminal window when 'termguicolor' is setv8.2.0890Bram Moolenaar
Problem: No color in terminal window when 'termguicolor' is set. Solution: Clear the underline color. (closes #6186)
2020-05-31patch 8.2.0863: cannot set a separate color for underline/undercurlv8.2.0863Bram Moolenaar
Problem: Cannot set a separate color for underline/undercurl. Solution: Add the t_AU and t_8u termcap codes. (Timur Celik, closes #6011)
2020-05-30patch 8.2.0855: GUI tests fail because the test doesn't use a modifierv8.2.0855Bram Moolenaar
Problem: GUI tests fail because the test doesn't use a modifier. Solution: Add "\{xxx}" to be able to encode a modifier.
2020-05-13patch 8.2.0751: Vim9: performance can be improvedv8.2.0751Bram Moolenaar
Problem: Vim9: performance can be improved. Solution: Don't call break. Inline check for list materialize. Make an inline version of ga_grow().
2020-04-25patch 8.2.0635: when using 256 colors DarkYellow does not show expected colorv8.2.0635Bram Moolenaar
Problem: When using 256 colors DarkYellow does not show expected color. Solution: Use color 3 instead of 130. (Romain Lafourcade, closes #5985)
2020-04-20patch 8.2.0613: Vim9: no check for space before #commentv8.2.0613Bram Moolenaar
Problem: Vim9: no check for space before #comment. Solution: Add space checks.
2020-04-20patch 8.2.0612: Vim9: no check for space before #commentv8.2.0612Bram Moolenaar
Problem: Vim9: no check for space before #comment. Solution: Add space checks.
2020-04-12patch 8.2.0559: clearing a struct is verbosev8.2.0559Bram Moolenaar
Problem: Clearing a struct is verbose. Solution: Define and use CLEAR_FIELD() and CLEAR_POINTER().
2020-04-02patch 8.2.0502: Vim9: some code is not testedv8.2.0502Bram Moolenaar
Problem: Vim9: some code is not tested. Solution: Add more tests. Fix uncovered problems.
2020-03-23patch 8.2.0434: MS-Windows with VTP: Normal color not workingv8.2.0434Bram Moolenaar
Problem: MS-Windows with VTP: Normal color not working. Solution: After changing the Normal color update the VTP console color. (Nobuhiro Takasaki, closes #5836)
2020-02-01patch 8.2.0191: cannot put a terminal in a popup windowv8.2.0191Bram Moolenaar
Problem: Cannot put a terminal in a popup window. Solution: Allow opening a terminal in a popup window. It will always have keyboard focus until closed.
2020-01-27patch 8.2.0159: non-materialized range() list causes problemsv8.2.0159Bram Moolenaar
Problem: Non-materialized range() list causes problems. (Fujiwara Takuya) Solution: Materialize the list where needed.
2019-12-29patch 8.2.0056: execution stack is incomplete and inefficientv8.2.0056Bram Moolenaar
Problem: Execution stack is incomplete and inefficient. Solution: Introduce a proper execution stack and use it instead of sourcing_name/sourcing_lnum. Create a string only when used.
2019-12-24patch 8.2.0037: missing renamed messagev8.2.0037Bram Moolenaar
Problem: Missing renamed message. Solution: Now really add the error number.
2019-12-23patch 8.2.0035: saving and restoring called_emsg is clumsyv8.2.0035Bram Moolenaar
Problem: Saving and restoring called_emsg is clumsy. Solution: Count the number of error messages.
2019-12-05patch 8.1.2391: cannot build when __QNXNTO__ is definedv8.1.2391Bram Moolenaar
Problem: Cannot build when __QNXNTO__ is defined. (Ian Wayne Larson) Solution: Move the check for "qansi". (Ken Takata, closes #5317)
2019-11-02patch 8.1.2243: typos in commentsv8.1.2243Bram Moolenaar
Problem: Typos in comments. Solution: Fix the typos. (Dominique Pelle, closes #5160) Also adjust formatting a bit.
2019-10-13patch 8.1.2145: cannot map <C-H> when modifyOtherKeys is enabledv8.1.2145Bram Moolenaar
Problem: Cannot map <C-H> when modifyOtherKeys is enabled. Solution: Add the <C-H> mapping twice, both with modifier and as 0x08. Use only the first one when modifyOtherKeys has been detected.
2019-10-06patch 8.1.2120: some MB_ macros are more complicated than necessaryv8.1.2120Bram Moolenaar
Problem: Some MB_ macros are more complicated than necessary. (Dominique Pelle) Solution: Simplify the macros. Expand inline.
2019-09-14patch 8.1.2029: cannot control 'cursorline' highlighting wellv8.1.2029Bram Moolenaar
Problem: Cannot control 'cursorline' highlighting well. Solution: Add "screenline". (Christian Brabandt, closes #4933)
2019-08-21patch 8.1.1901: the +insert_expand feature is not always availablev8.1.1901Bram Moolenaar
Problem: The +insert_expand feature is not always available. Solution: Graduate the +insert_expand feature.
2019-08-20patch 8.1.1895: using NULL pointer when out of memoryv8.1.1895Bram Moolenaar
Problem: Using NULL pointer when out of memory. Solution: Bail out or skip the code using the pointer. (Zu-Ming Jiang, closes #4805, closes #4843, closes #4939, closes #4844)
2019-08-18patch 8.1.1887: the +cmdline_compl feature is not in the tiny versionv8.1.1887Bram Moolenaar
Problem: The +cmdline_compl feature is not in the tiny version. Solution: Graduate the +cmdline_compl feature.
2019-07-24patch 8.1.1745: compiler warning for unused argumentv8.1.1745Bram Moolenaar
Problem: Compiler warning for unused argument. Solution: Add UNUSED. Change comments to new style.
2019-07-24patch 8.1.1743: 'hlsearch' and match highlighting in the wrong placev8.1.1743Bram Moolenaar
Problem: 'hlsearch' and match highlighting in the wrong place. Solution: Move highlighting from inside screen functions to highlight.c.
2019-07-24patch 8.1.1742: still some match functions in evalfunc.cv8.1.1742Bram Moolenaar
Problem: Still some match functions in evalfunc.c. Solution: Move them to highlight.c.
2019-07-24patch 8.1.1741: cleared/added match highlighting not updated in other windowv8.1.1741Bram Moolenaar
Problem: Cleared/added match highlighting not updated in other window. (Andi Massimino) Solution: Mark the right window for refresh.
2019-07-24patch 8.1.1739: deleted match highlighting not updated in other windowv8.1.1739Bram Moolenaar
Problem: Deleted match highlighting not updated in other window. Solution: Mark the window for refresh. (closes #4720) Also fix that ambi-width check clears with wrong attributes.
2019-07-22patch 8.1.1735: can't build with tiny featuresv8.1.1735Bram Moolenaar
Problem: Can't build with tiny features. Solution: Add missing #ifdefs.
2019-07-22patch 8.1.1734: the evalfunc.c file is too bigv8.1.1734Bram Moolenaar
Problem: The evalfunc.c file is too big. Solution: Move some functions to other files.
2019-07-15patch 8.1.1699: highlight_ga can be local instead of globalv8.1.1699Bram Moolenaar
Problem: Highlight_ga can be local instead of global. Solution: Move highlight_ga into highlight.c. (Yegappan Lakshmanan, closes #4675)
2019-07-14patch 8.1.1693: syntax coloring and highlighting is in one big filev8.1.1693Bram Moolenaar
Problem: Syntax coloring and highlighting is in one big file. Solution: Move the highlighting to a separate file. (Yegappan Lakshmanan, closes #4674)