micro/internal
Dmitry Maluka 728d87ceba
Fix regression: non-working direct colors in syntax files (#2252)
After 9ad4437, directly specifying color names (instead of syntax groups)
in syntax files no longer works. In particular *.patch and *.diff files
are not highlighted, since in patch.yaml direct colors names are used.

Restore the previous behavior of GetColor (fallback to direct colors if
no syntax group found) to fix this regression, but also make some changes
in StringToStyle and StringToColor to still fix the issue which was fixed
by 9ad4437. In other words, ensure that there is no confusion between
direct colors ("red", "green" etc) and syntax groups omitted in the
colorscheme file.
2021-10-27 15:12:55 -07:00
..
action Support for highlighting all search matches (hlsearch) (#1762) 2021-09-28 13:39:03 -07:00
buffer Support for highlighting all search matches (hlsearch) (#1762) 2021-09-28 13:39:03 -07:00
clipboard Only use internal clipboard on error 2020-12-26 14:45:22 -05:00
config Fix regression: non-working direct colors in syntax files (#2252) 2021-10-27 15:12:55 -07:00
display Support for highlighting all search matches (hlsearch) (#1762) 2021-09-28 13:39:03 -07:00
info Clear prompt before callback 2020-11-16 14:07:22 -05:00
lua Make more libraries available (#1917) 2020-11-21 01:46:17 -05:00
screen Enable xterm automatically if screen init fails 2020-09-15 01:11:59 -04:00
shell Fix some quality issues (#1914) 2021-01-09 13:39:21 -05:00
util Improve comments 2021-08-21 17:58:30 -04:00
views Fix unsplit crash 2020-02-08 21:06:13 -05:00