Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 833 Bytes

README.md

File metadata and controls

22 lines (13 loc) · 833 Bytes

GN-mode

MELPA BSD3

A major-mode for editing GN (ninja generator) config files in Emacs. Files of this type (e.g. BUILD.gn or *.gni) are common in Chromium-derived projects like Chrome and (Anaheim) Edge.

Status

  • Syntax hilighting - working correct
  • Indentation - as correct as feasible without a complete parser
  • Context-sensitive-help - keywords and variables only for now

Changes in 0.4

  • Fixed indentation hangs with evil-mode motion control.
  • Fixed indentation text removal or hangs with over-indented regions at the end of the buffer.

To-Do features

  • Maybe better help for operators / site-defined symbols
  • Maybe offer to use "gn format" for cleanup