LoginSignup
3
2

More than 5 years have passed since last update.

emacsにrsenseを入れてみた。

Posted at

なんかいろいろ徘徊してたら、rsenseを見つけたのでいれてみました。
補完をやってくれる拡張です。

DLして、そのソースを僕は~/opt/以下にコピーしました。

書いてある通りにinstallして、init.elに

(setq rsense-home "/Users/koichi.yanagimoto/opt/rsense-0.3")
(add-to-list 'load-path (concat rsense-home "/etc"))
(require 'rsense)

(add-hook 'ruby-mode-hook
  (lambda ()
    (add-to-list 'ac-sources 'ac-source-rsense-method)
    (add-to-list 'ac-sources 'ac-source-rsense-constant)))

を追加したら、キレイに候補が出てくれた!

3
2
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
2