Add support for Spacemacs

Add Spacemacs setup instructions to README and configuration wizard
This commit is contained in:
Riccardo Binetti
2022-06-06 13:53:20 -04:00
committed by Auguste Rame
parent 825f4ae584
commit 259f056bd2
2 changed files with 22 additions and 2 deletions

View File

@@ -290,6 +290,16 @@ let g:LanguageClient_serverCommands = {
:server-id 'zls))))
```
### Spacemacs
- Add `lsp` and `zig` to `dotspacemacs-configuration-layers` in your `.spacemacs` file.
- If you don't have `zls` in your `PATH`, add the following to `dotspacemacs/user-config` in your
`.spacemacs` file:
```elisp
(setq lsp-zig-zls-executable "<path to zls>")
```
## Related Projects
- [`sublime-zig-language` by @prime31](https://github.com/prime31/sublime-zig-language)