Skip to content

pry syntax highlighting/color #88

@jeffrabovsky

Description

@jeffrabovsky

Using pry from inf-ruby looks like this:

screen shot 2016-09-28 at 5 38 51 pm

Using pry from iTerm2 looks like this:

screen shot 2016-09-28 at 5 40 14 pm

Is there a way to get pry's syntax highlighting from within inf-ruby?

Here's what my inf-ruby configuration looks like:

(require 'inf-ruby)
(setq inf-ruby-default-implementation "pry")
(add-hook 'inf-ruby-mode-hook
  (function
    (lambda ()
      (setq show-trailing-whitespace nil)
      (linum-mode 0))))

Here's my ~/.pryrc:

Pry.config.correct_indent = false if ENV['INSIDE_EMACS']

Thanks for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions