-
-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pry syntax highlighting/color #88
Comments
Over here, I do have the return values highlighted. But IIUC you're asking about the input text. That sounds difficult, because |
Could we do something like.. Turn on the echo in the REPL and colorize the On Wed, Sep 28, 2016 at 7:08 PM Dmitry Gutov [email protected]
|
It might be possible, and it would need to happen in |
@dgutov That's strange that you're getting return values highlighted and I'm not. I'm getting the same result too when I replace my .emacs with this minimal one: (setq package-archives
'(("gnu" . "https://elpa.gnu.org/packages/")
("marmalade" . "https://marmalade-repo.org/packages/")))
(require 'package)
(setq package-enable-at-startup nil)
(package-initialize)
(package-refresh-contents)
(defvar my-packages '(inf-ruby exec-path-from-shell))
(dolist (p my-packages)
(when (not (package-installed-p p))
(package-install p)))
(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))))
(when (memq window-system '(mac ns))
(exec-path-from-shell-initialize)) Here's what I see: Any ideas what could be going wrong on my end? I'm using emacs 24.5.1 from https://emacsformacosx.com |
I'm not sure why, but my |
Ah yup, I have that in my |
Using pry from inf-ruby looks like this:
Using pry from iTerm2 looks like this:
Is there a way to get pry's syntax highlighting from within inf-ruby?
Here's what my inf-ruby configuration looks like:
Here's my
~/.pryrc
:Thanks for your help!
The text was updated successfully, but these errors were encountered: