languageserver icon indicating copy to clipboard operation
languageserver copied to clipboard

Document installation for Emacs

Open liar666 opened this issue 4 years ago • 1 comments
trafficstars

Hi,

It would be great if the main page README would be a little more explicit on how to install in Emacs.

For the moment it just points to lsp page, which gives absolutely no hint about R-languageserver...

Thanks to https://github.com/REditorSupport/languageserver/issues/44#issuecomment-515636581 , I discovered that the lines to add to the config file must be something like:

(package-initialize)
(require 'eglot)
(require 'ess-site)
(add-hook 'ess-r-mode-hook 'eglot-ensure)

Would be great it they are verified & added to the main page "Emacs" section.

liar666 avatar Nov 24 '20 08:11 liar666

You are welcome to contribute a pull request for better documentation. It would be best written by someone who has the corresponding experience.

randy3k avatar Nov 24 '20 17:11 randy3k