aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* feat(colorcolchar): implement 'foreground' flagJosh Rahm2023-02-02
| | | | | | | | | | This flag, denoted by an 'f', will force the character over the colorcolumn to take on the colorcolumn's highlight, discarding any highlight the character would have had otherwise. This is the inverse of the 'background' flag, where the colorcolumn will take the highlight of the character discarding any highlight it otherwise would have had.
* feat(colorcolchar): make colorcol qsort() stable by including indexJosh Rahm2023-01-31
|
* feat(colorcolchar): make the colorcolumn more flexibleJosh Rahm2023-01-31
| | | | | | | | | | | | | | | | | | | | This PR creates the ability to optionally decorate the colorcolumn(s) in other ways. Specifically it adds the ability to set: * The highlight group to highlight a colorcolumn with * A character to draw in a colorcolumn * whether the colorcolumn should mix its highlighting with the character in the column. The new syntax for colorcolumn is: set colorcolumn=[+|-]<num>[/<char>[/<hl_group>[/<flags>]]] By default the char is ' ', and the hl_group is 'ColorColumn' This PR does not change the existing semantics, just adds to them.
* feat(colorcolchar): remove existing colorcolumnchar in the fillchars. Make ↵Josh Rahm2023-01-31
| | | | way for more flexibility
* Merge remote-tracking branch 'upstream/master' into colorcolcharJosh Rahm2023-01-25
|\
| * Merge pull request #21885 from lewis6991/refactor/optionsLewis Russell2023-01-25
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problems: - Scope of local variables in options code is too large. - did_set_string_option() is too large (>1000LOC). - Setting options for a particular window or buffer requires a changing context (assigning curwin/curbuf). Solutions: - Reduce the scope of local variables. - Break up did_set_string_option so it doesn't contain specific logic about each individual option (1038 LOC -> 310 LOC). - Begin work on making functions not depend on curbuf or curwin and pass window or buffer handles explicitly.
| | * refactor(optionstr.c): move handling of formatlistpatLewis Russell2023-01-25
| | |
| | * refactor(optionstr.c): break up did_set_exproptLewis Russell2023-01-25
| | |
| | * refactor(optionstr.c): remove some redundant parensLewis Russell2023-01-25
| | |
| | * refactor(optionstr.c): break up did_option_listflagsLewis Russell2023-01-25
| | |
| | * refactor(optionstr.c): add did_set_string_option_forLewis Russell2023-01-25
| | |
| | * refactor(optionstr.c): break up did_set_string_option 52Lewis Russell2023-01-25
| | |
| | * refactor(optionstr.c): break up did_set_string_option 51Lewis Russell2023-01-25
| | |
| | * refactor(optionstr.c): remove some simple did_set_* functions 2Lewis Russell2023-01-25
| | |
| | * refactor(optionstr.c): remove some simple did_set_* functionsLewis Russell2023-01-25
| | |
| | * refactor(optionstr.c): break up did_set_string_option 50Lewis Russell2023-01-25
| | |
| | * refactor(optionstr.c): break up did_set_string_option 49Lewis Russell2023-01-25
| | |
| | * refactor(optionstr.c): break up did_set_string_option 48Lewis Russell2023-01-25
| | |
| | * refactor(optionstr.c): break up did_set_string_option 47Lewis Russell2023-01-25
| | |
| | * refactor(optionstr.c): break up did_set_string_option 46Lewis Russell2023-01-25
| | |
| | * refactor(optionstr.c): break up did_set_string_option 45Lewis Russell2023-01-25
| | |
| | * refactor(optionstr.c): break up did_set_string_option 44Lewis Russell2023-01-25
| | |
| | * refactor(optionstr.c): break up did_set_string_option 43Lewis Russell2023-01-25
| | |
| | * refactor(optionstr.c): break up did_set_string_option 42Lewis Russell2023-01-25
| | |
| | * refactor(optionstr.c): break up did_set_string_option 41Lewis Russell2023-01-25
| | |
| | * refactor(optionstr.c): break up did_set_string_option 40Lewis Russell2023-01-25
| | |
| | * refactor(optionstr.c): break up did_set_string_option 39Lewis Russell2023-01-25
| | |
| | * refactor(optionstr.c): break up did_set_string_option 38Lewis Russell2023-01-25
| | |
| | * refactor(optionstr.c): break up did_set_string_option 37Lewis Russell2023-01-25
| | |
| | * refactor(optionstr.c): break up did_set_string_option 36Lewis Russell2023-01-25
| | |
| | * refactor(optionstr.c): break up did_set_string_option 35Lewis Russell2023-01-25
| | |
| | * refactor(optionstr.c): break up did_set_string_option 34Lewis Russell2023-01-25
| | |
| | * refactor(optionstr.c): break up did_set_string_option 33Lewis Russell2023-01-25
| | |
| | * refactor(optionstr.c): break up did_set_string_option 32Lewis Russell2023-01-25
| | |
| | * refactor(optionstr.c): break up did_set_string_option 31Lewis Russell2023-01-25
| | |
| | * refactor(optionstr.c): break up did_set_string_option 30Lewis Russell2023-01-25
| | |
| | * refactor(optionstr.c): break up did_set_string_option 29Lewis Russell2023-01-25
| | |
| | * refactor(optionstr.c): break up did_set_string_option 28Lewis Russell2023-01-25
| | |
| | * refactor(optionstr.c): break up did_set_string_option 27Lewis Russell2023-01-25
| | |
| | * refactor(optionstr.c): break up did_set_string_option 26Lewis Russell2023-01-25
| | |
| | * refactor(optionstr.c): break up did_set_string_option 25Lewis Russell2023-01-25
| | |
| | * refactor(optionstr.c): break up did_set_string_option 24Lewis Russell2023-01-25
| | |
| | * refactor(optionstr.c): break up did_set_string_option 23Lewis Russell2023-01-25
| | |
| | * refactor(optionstr.c): break up did_set_string_option 22Lewis Russell2023-01-25
| | |
| | * refactor(optionstr.c): break up did_set_string_option 21Lewis Russell2023-01-25
| | |
| | * refactor(optionstr.c): break up did_set_string_option 20Lewis Russell2023-01-25
| | |
| | * refactor(optionstr.c): break up did_set_string_option 19Lewis Russell2023-01-25
| | |
| | * refactor(optionstr.c): break up did_set_string_option 18Lewis Russell2023-01-25
| | |
| | * refactor(optionstr.c): break up did_set_string_option 17Lewis Russell2023-01-25
| | |
| | * refactor(optionstr.c): break up did_set_string_option 16Lewis Russell2023-01-25
| | |