Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hacks to make reason-language-server work for me
jaredly/reason-language-server#423 In spacemacs (right now I'm on 3747afb from the develop branch), if I: 1. Apply this very hacky patch 2. Add this to my spacemacs init.el: dotspacemacs-additional-packages '( (lsp :location "~/dev/lsp-mode/") ) 3. Load a ReasonML (.re) file 4. Disable merlin linting: SPC SPC merlin-mode RET 5. Ensure LSP gets loaded: SPC SPC lsp RET 6. Run this (replacing the file path with where you put the reason-language-server binary): (lsp-register-client (make-lsp-client :new-connection (lsp-stdio-connection "/path/to/rls-linux/reason-language-server") :major-modes '(reason-mode) :notification-handlers (ht ("client/registerCapability" 'ignore)) :priority 1 :server-id 'reason-ls)) (spacemacs|define-jump-handlers reason-mode) 7. SPC SPC lsp again ... then it seems to work!
- Loading branch information