Questions tagged [enh-ruby-mode]

5 questions
5
votes
2 answers

Include vendor's tags for ruby-mode and ggtags

I'm trying to install and configure the ggtags package. Primarily, I use it for a ruby on rails projects (enh-ruby-mode). I can generate ctags including all vendor's files for my project with the following command: ctags -R --languages=ruby…
Kukunin
  • 151
  • 1
3
votes
1 answer

origami (folding) package: create parser for Ruby

I need to create a parser for Ruby so I can use the origami folding package. To make matters more complex, I use enh-ruby-mode, so I 'd like to build the parser for that, if it makes a difference. The package has the following instructions: It…
Trevoke
  • 2,375
  • 21
  • 34
2
votes
1 answer

How do I find out what package is adding red boxes to my source code?

I have this piece of ruby code: def open(...) local_path.open(...) end and the first two lines have red boxes around them and when I hover over either one it says "syntax error, unexpected ..., expecting ')'" I have lsp-mode, projectile,…
pedz
  • 365
  • 1
  • 12
0
votes
1 answer

Autoloaded variable overrides the one from the init file

I added the following line to my init file to replace ruby-mode with enh-ruby-mode: (setq auto-mode-alist (mapcar (lambda (x) (if (eq (cdr x) 'ruby-mode) (cons (car x) 'enh-ruby-mode) x))…
x-yuri
  • 281
  • 1
  • 8
0
votes
2 answers

Can't close Robe console split in spacemacs

I run SPC m s i to start Robe (Ruby code inspection tool) in spacemacs, and it opens a split with a REPL. When I'm done issuing commands I can't close the split. SPC is not usable because the REPL and the buffer are just interpreting what I type…