Skip to content
This repository has been archived by the owner on Feb 13, 2021. It is now read-only.

guskovd/emacs-solargraph

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

DEPRECATED!

let's use eglot or lsp-mode

emacs-solargraph

Ruby setup

install solargraph via:

gem install solargraph

or add 'solargraph' in you Gemfile.

start solargraph server:

solargraph server

Emacs setup

Clone this repository somewhere and add this directory to your load-path.

basic setup:

(require 'solargraph)
(define-key ruby-mode-map (kbd "M-i") 'solargraph:complete)

Autocomplete setup

(require 'ac-solargraph)
(define-key ruby-mode-map (kbd "M-i") 'ac-solargraph:complete)

Solargraph project: https://github.com/castwide/solargraph