Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 927 Bytes

README.md

File metadata and controls

29 lines (21 loc) · 927 Bytes

yard-mode

Build Status Coverage Status

Rudimentary support for fontifying YARD tags and directives in ruby comments.

Example screenshot

Installation

Use MELPA: M-x package-install yard-mode.

Add it to your ruby hook:

(add-hook 'ruby-mode-hook 'yard-mode)

If you would also like eldoc support, so that the expected syntax for the tag beneath your cursor is displayed in the minibuffer, add that hook too:

(add-hook 'ruby-mode-hook 'eldoc-mode)

TODO

  1. Some reasonable means of providing completions.
  2. Tidy up the defcustoms; most could be parsed from yard-tag-docstrings.