zsh-users/zsh-syntax-highlighting

Highlight case/esac

Open

#406 geöffnet am 29. Dez. 2016

Auf GitHub ansehen
 (0 Kommentare) (1 Reaktion) (0 zugewiesene Personen)Shell (1.371 Forks)batch import
Improvementgood first issue

Repository-Metriken

Stars
 (22.617 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

In case foo in (bar) ls;; esac:

  • The ls not highlighted as a command word.
  • The esac is not highlighted as a reserved word.
  • The case/esac pair should be subject to balanced-parenthesis logic, like do/done. (So esac is highlighted in red if not preceded by a case, etc.)
  • If the second word after case is not in, then it is a syntax error.

Contributor Guide