Skip to content

Instantly share code, notes, and snippets.

@Nyoho
Created November 20, 2013 01:41
Show Gist options
  • Save Nyoho/7556119 to your computer and use it in GitHub Desktop.
Save Nyoho/7556119 to your computer and use it in GitHub Desktop.

Emacs でキーワード引数がうまくハイライトされていなかったのをなおす

memo

flymake-ruby が原因だった。

ruby が system のをとっていた(?)

rbenv の ruby を見るようにした。

Using rbenv with emacs - http://marc-bowes.com/2012/03/10/rbenv-with-emacs.html で rbenv を PATH に設定して、

;; flymake
(require 'flymake)
(setq flymake-ruby-executable (shell-command-to-string "rbenv which ruby"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment