macOS ◆ xterm-256color ◆ bash 2263 views

The new chroma-architecture of Fast-Syntax-Highlighting allows to define sophisticated highlighting rules without directly writing code (only simple callbacks are needed). This makes writing highlighters that are dedicated to specific commands easy and fast.

Above is an exact-highlighter for Zplugin. It aids the completion and verifies:

  • if the plugin to be loaded exists,
  • if the given ice-mod is correct,
  • if the snippet to be loaded exists,
  • if the completion to be enabled or disabled exists,
  • if the plugin to be unloaded is actually loaded.