Skip to content

Commit

Permalink
update README.md: eglot-server-programs is a custom variable
Browse files Browse the repository at this point in the history
update editing instructions
update eglot's customization group summary
  • Loading branch information
lmmarsano committed Feb 11, 2019
1 parent 1c6c30f commit 6c90a9e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ for the language you're using. Otherwise, it prompts you to enter one.
* Dart's [dart_language_server][dart_language_server]

I'll add to this list as I test more servers. In the meantime you can
customize `eglot-server-programs`:
customize `eglot-server-programs`: either
`M-x customize-variable RET eglot-server-programs RET` or

```lisp
(add-to-list 'eglot-server-programs '(foo-mode . ("foo-language-server" "--args")))
Expand Down Expand Up @@ -152,6 +153,8 @@ Here's a quick summary of the customization options. In Eglot's
customization group (`M-x customize-group`) there is more
documentation on what these do.

- `eglot-server-programs`: as described [above](#connecting);

- `eglot-autoreconnect`: Control ability to reconnect automatically to
the LSP server;

Expand All @@ -175,8 +178,6 @@ documentation on what these do.
There are a couple more variables that you can customize via Emacs
lisp:

- `eglot-server-programs`: as described [above](#connecting);

- `eglot-strict-mode`: Set to `nil` by default, meaning Eglot is
generally lenient about non-conforming servers. Set this to
`(disallow-non-standard-keys enforce-required-keys)` when debugging
Expand Down

0 comments on commit 6c90a9e

Please sign in to comment.