Skip to content

pd/yard-mode.el

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.