Skip to content

ybiquitous/rbs-mode

Repository files navigation

MELPA MELPA Stable

rbs-mode

This is a Emacs major mode for editing RBS (a type signature language for Ruby).

Screenshot

Getting started

You can install the package from MELPA (recommeded), or download it directly as below:

  1. Download the package, e.g.

    curl -L https://raw.githubusercontent.com/ybiquitous/rbs-mode/HEAD/rbs-mode.el -o ~/.emacs.d/elisp/rbs-mode.el
  2. Edit your ~/.emacs.d/init.el, e.g.

    (add-to-list 'load-path "~/.emacs.d/elisp")
    (require 'rbs-mode)

When the installation is completed, let's try to open a RBS file!

  1. Download RBS files via git clone https://github.com/ruby/rbs.git
  2. Open a RBS file, e.g. C-x C-f core/object.rbs

Contributing

Welcome to your contribution! Feel free to open an issue or pull request.