10
GitHub - pd/yard-mode.el: Emacs minor mode for editing YARD tags
source link: https://github.com/pd/yard-mode.el
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
yard-mode
Rudimentary support for fontifying YARD tags and directives in ruby comments.
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)
- Some reasonable means of providing completions.
- Tidy up the defcustoms; most could be parsed from
yard-tag-docstrings
.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK