summaryrefslogtreecommitdiffstats
path: root/src/highlight.c
AgeCommit message (Collapse)Author
2023-03-10patch 9.0.1397: highlight for popupmenu kind and extra cannot be setv9.0.1397Gianmaria Bajo
Problem: Highlight for popupmenu kind and extra cannot be set. Solution: Add PmenuKind, PmenuKindSel, PmenuExtra and PmenuExtraSel highlight groups and use them. (Gianmaria Bajo, closes #12114)
2023-02-21patch 9.0.1336: functions without arguments are not always declared properlyv9.0.1336Yegappan Lakshmanan
Problem: Functions without arguments are not always declared properly. Solution: Use "(void)" instead of "()". (Yegappan Lakshmanan, closes #12031)
2023-01-09patch 9.0.1166: code is indented more than necessaryv9.0.1166Yegappan Lakshmanan
Problem: Code is indented more than necessary. Solution: Use an early return where it makes sense. (Yegappan Lakshmanan, closes #11792)
2023-01-02patch 9.0.1133: error message names do not match the itemsv9.0.1133Bram Moolenaar
Problem: Error message names do not match the items. Solution: Add "_str" when the text contains "%s".
2022-11-02patch 9.0.0828: various typosv9.0.0828dundargoc
Problem: Various typos. Solution: Correct typos. (closes #11432)
2022-09-03patch 9.0.0364: clang static analyzer gives warningsv9.0.0364Yegappan Lakshmanan
Problem: Clang static analyzer gives warnings. Solution: Avoid the warnings. (Yegappan Lakshmanan, closes #11043)
2022-08-31patch 9.0.0343: ColorScheme autocommand triggered when colorscheme not foundv9.0.0343Bram Moolenaar
Problem: ColorScheme autocommand triggered when colorscheme is not found. (Romain Lafourcade) Solution: Only trigger ColorScheme when loading the colorscheme succeeds. (closes #11024)
2022-08-31patch 9.0.0340: the 'cmdheight' zero support causes too much troublev9.0.0340Bram Moolenaar
Problem: The 'cmdheight' zero support causes too much trouble. Solution: Revert support for 'cmdheight' being zero.
2022-08-30patch 9.0.0329: ":highlight" hangs when 'cmdheight' is zerov9.0.0329Bram Moolenaar
Problem: ":highlight" hangs when 'cmdheight' is zero. Solution: Add to msg_col when using the message window. (closes #11014)
2022-08-26patch 9.0.0279: the tiny version has the popup menu but not 'wildmenu'v9.0.0279Bram Moolenaar
Problem: The tiny version has the popup menu but not 'wildmenu'. Solution: Graduate the wildmenu feature.
2022-08-22patch 9.0.0245: mechanism to prevent recursive screen updating is incompletev9.0.0245Bram Moolenaar
Problem: Mechanism to prevent recursive screen updating is incomplete. Solution: Add "redraw_not_allowed" and set it in build_stl_str_hl(). (issue #10952)
2022-08-14patch 9.0.0206: redraw flags are not named specificallyv9.0.0206Bram Moolenaar
Problem: Redraw flags are not named specifically. Solution: Prefix "UPD_" to the flags, for UPDate_screen().
2022-08-13patch 9.0.0203: confusing variable namev9.0.0203Bram Moolenaar
Problem: Confusing variable name. Solution: Use "prim_aep" instead of "spell_aep".
2022-08-10patch 9.0.0189: invalid memory access for text prop without highlightv9.0.0189Bram Moolenaar
Problem: Invalid memory access for text prop without highlight. Solution: Check for a valid highlight ID.
2022-07-23patch 9.0.0063: too many type casts for dict_get functionsv9.0.0063Bram Moolenaar
Problem: Too many type casts for dict_get functions. Solution: Change the key argument from "char_u *" to "char *".
2022-06-29patch 9.0.0007: no support for double, dotted and dashed underlinesv9.0.0007Bram Moolenaar
Problem: No support for double, dotted and dashed underlines. Solution: Add the termcap entries and highlight modes. (closes #9553)
2022-06-29patch 9.0.0003: functions are global while they could be localv9.0.0003Yegappan Lakshmanan
Problem: Functions are global while they could be local. Solution: Add "static". Add a few tests. (Yegappan Lakshmanan, closes #10612)
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)