Skip to content

lashtear/gn-mode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

An Emacs major-mode for editing GN (generate ninja build) files

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published