tweaks: reduce redundancy (--enable-color implies --enable-nanorc)

(To make use of color, syntaxes are needed,
and syntaxes require a nanorc for their definition.)
This commit is contained in:
Benno Schulenberg 2021-12-08 12:11:10 +01:00
parent 1f0eb8d915
commit abafc2ba14
1 changed files with 0 additions and 2 deletions

View File

@ -1109,8 +1109,6 @@ void toggle_this(int flag)
precalc_multicolorinfo();
refresh_needed = TRUE;
break;
#endif
#if defined(ENABLE_NANORC) && defined(ENABLE_COLOR)
case TABS_TO_SPACES:
if (openfile->syntax && openfile->syntax->tab) {
statusline(AHEM, _("Current syntax determines Tab"));