Skip to content

Commit 74b9488

Browse files
authored
Merge pull request #120 from zwpaper/master
README.md: Add emacs configuration example
2 parents d78c4e7 + 11a8585 commit 74b9488

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ The following editors and IDEs have available clients:
3737
- Neovim ([see below](#neovim))
3838
- [Oni](https://github.com/onivim/oni) ([see below](#oni))
3939
- Eclipse ([ShellWax](https://marketplace.eclipse.org/content/shellwax))
40+
- Emacs ([see below](#emacs))
4041

4142
#### Vim
4243

@@ -94,6 +95,18 @@ On the config file (`File -> Preferences -> Edit Oni config`) add the following
9495
"language.bash.languageServer.arguments": ["start"],
9596
```
9697

98+
#### Emacs
99+
100+
[Lsp-mode](https://github.com/emacs-lsp/lsp-mode) has a built-in client, can be installed by `use-package`.
101+
Add the configuration to your `.emacs.d/init.el`
102+
103+
```emacs-lisp
104+
(use-package lsp-mode
105+
:commands lsp
106+
:hook
107+
(sh-mode . lsp))
108+
```
109+
97110
## Development Guide
98111

99112
Please see [docs/development-guide][dev-guide] for more information.

0 commit comments

Comments
 (0)