summaryrefslogtreecommitdiffstats
path: root/src/highlight.c
AgeCommit message (Collapse)Author
2022-05-09patch 8.2.4928: various white space and cosmetic mistakesv8.2.4928Bram Moolenaar
Problem: Various white space and cosmetic mistakes. Solution: Change spaces to tabs, improve comments.
2022-05-05patch 8.2.4877: MS-Windows: Wrongly using Normal colors for termguicolorsv8.2.4877Christian Brabandt
Problem: MS-Windows: Using Normal colors for termguicolors causes problems. Solution: Do not use Normal colors to set sg_gui_fg and sg_gui_bg. (Christian Brabandt, closes #10317, closes #10241)
2022-05-02patch 8.2.4858: K_SPECIAL may be escaped twicev8.2.4858zeertzjq
Problem: K_SPECIAL may be escaped twice. Solution: Avoid double escaping. (closes #10340)
2022-04-15patch 8.2.4753: error from setting an option is silently ignoredv8.2.4753Bram Moolenaar
Problem: Error from setting an option is silently ignored. Solution: Handle option value errors better. Fix uses of N_().
2022-04-09patch 8.2.4724: current instance of last search pattern not easily spottedv8.2.4724LemonBoy
Problem: Current instance of last search pattern not easily spotted. Solution: Add CurSearch highlighting. (closes #10133)
2022-04-04patch 8.2.4683: verbose check with dict_find() to see if a key is presentv8.2.4683Yegappan Lakshmanan
Problem: Verbose check with dict_find() to see if a key is present. Solution: Add dict_has_key(). (Yegappan Lakshmanan, closes #10074)
2022-02-16patch 8.2.4402: missing parenthesis may cause unexpected problemsv8.2.4402kylo252
Problem: Missing parenthesis may cause unexpected problems. Solution: Add more parenthesis is macros. (closes #9788)
2022-01-08patch 8.2.4045: some global functions are only used in one filev8.2.4045Yegappan Lakshmanan
Problem: Some global functions are only used in one file. Solution: Make the functions static. (Yegappan Lakshmanan, closes #9492)
2022-01-08patch 8.2.4038: various code not used when features are disabledv8.2.4038Dominique Pelle
Problem: Various code not used when features are disabled. Solution: Add #ifdefs. (Dominique Pellé, closes #9491)
2022-01-05patch 8.2.4010: error messages are spread outv8.2.4010Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
2022-01-04patch 8.2.4005: error messages are spread outv8.2.4005Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
2022-01-02patch 8.2.3986: error messages are spread outv8.2.3986Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
2022-01-02patch 8.2.3985: error messages are spread outv8.2.3985Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
2022-01-01patch 8.2.3967: error messages are spread outv8.2.3967Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more errors to errors.h.
2021-12-31patch 8.2.3961: error messages are spread outv8.2.3961Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more errors to errors.h.
2021-12-07patch 8.2.3757: an overlong highlight group name is silently truncatedv8.2.3757erw7
Problem: An overlong highlight group name is silently truncated. Solution: Give an error if the name is too long. (closes #9289)
2021-11-24patch 8.2.3668: messages may be corruptedv8.2.3668Yegappan Lakshmanan
Problem: Messages may be corrupted. Solution: Use another buffer instead of IObuff. (Yegappan Lakshmanan, closes #9195)
2021-11-24patch 8.2.3664: cannot adjust sign highlighting for 'cursorline'v8.2.3664Bram Moolenaar
Problem: Cannot adjust sign highlighting for 'cursorline'. Solution: Add CursorLineSign and CursorLineFold highlight groups. (Gregory Anders, closes #9201)
2021-11-20patch 8.2.3628: looking terminal colors is a bit slowv8.2.3628Bram Moolenaar
Problem: Looking terminal colors is a bit slow. Solution: Cache the terminal colors. (closes #9130, closes #9058)
2021-11-16patch 8.2.3605: cannot clear and unlinke a highlight group with hlset()v8.2.3605Yegappan Lakshmanan
Problem: Cannot clear and unlinke a highlight group with hlset() in a single call. Solution: Add the "force" option. (Yegappan Lakshmanan, closes #9117)
2021-11-13patch 8.2.3590: test for v:colornames sometimes failsv8.2.3590Drew Vogel
Problem: Test for v:colornames sometimes fails. (Dominique Pellé) Solution: Check features. Clear v:colornames between tests. (Drew Vogel, closes #9105, closes #9073)
2021-11-03patch 8.2.3578: manipulating highlighting is complicatedv8.2.3578Yegappan Lakshmanan
Problem: Manipulating highlighting is complicated. Solution: Add the hlget() and hlset() functions. (Yegappan Lakshmanan, closes #9039)
2021-10-25patch 8.2.3563: build failure with +eval but without GUI or +termguicolorsv8.2.3563Bram Moolenaar
Problem: Build failure with +eval but without GUI or +termguicolors Solution: Adjust #ifdef. (John Marriott)
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.