digitalmars.D - emacs ddoc-mode?
- Andrei Alexandrescu (8/8) Feb 07 2013 Hello,
- =?UTF-8?B?Ik5vcmRsw7Z3Ig==?= (3/4) Jun 03 2014 I hacked together something here
- =?UTF-8?B?Ik5vcmRsw7Z3Ig==?= (2/3) Jun 03 2014 I guess we want DDoc highlighting in d-mode aswell.
Hello, Having a ddoc mode for emacs would make documentation writing a lot more enjoyable. Is there anyone who's versed in defining emacs modes? Ddoc files have a simple structure: "$(name" introduces a level of indentation (e.g. 2 spaces) and gets highlighted, ")" deindents, and at the end there's a macros section starting with "Macros:" on its own line followed by pairs of the form NAME=string. Andrei
Feb 07 2013
Having a ddoc mode for emacs would make documentation writing aI hacked together something here https://github.com/nordlow/elisp/blob/master/mine/ddoc-mode.el to get us started. I'll add a function highlighter later on.
Jun 03 2014
Having a ddoc mode for emacs would make documentation writing aI guess we want DDoc highlighting in d-mode aswell. I'll look into this later on.
Jun 03 2014