You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No setup needed. Code book will automatically detect the language you are editing and mark issues for you. Note, Codebook will only mark issues for words that you control, where they are initially defined.
19
+
No setup needed. Codebook will automatically detect the language you are editing and mark issues for you. Note, Codebook will only mark issues for words that you control, where they are initially defined.
20
20
21
21
Please gift us a ⭐ if you find Codebook useful!
22
22
@@ -28,7 +28,7 @@ Codebook is the most popular spell checker for Zed! To install, go to the Extens
28
28
29
29
**Note**: The version that Zed displays in the extension menus is for the [Zed Extension](https://github.com/blopker/codebook-zed), and not the LSP version (this repo). The extension will automatically update the LSP. If that updater is broken for some reason, try uninstalling the extension and reinstalling.
30
30
31
-
If quickfix code actions are not showing up for specific languages, ensure your `settings.json` file incudes the special `"..."`, or `"codebook"`, value in any `language_servers` values defined:
31
+
If quickfix code actions are not showing up for specific languages, ensure your `settings.json` file includes the special `"..."`, or `"codebook"`, value in any `language_servers` values defined:
32
32
33
33
```json
34
34
"languages": {
@@ -60,10 +60,9 @@ editor](https://helix-editor.com/) by adding the LSP to the
[nvim-lspconfig](https://github.com/neovim/nvim-lspconfig) includes a [configuration for Codebook](https://github.com/neovim/nvim-lspconfig/blob/master/lsp/codebook.lua).
91
+
92
+
First, [install Codebook](#installation), and ensure that `codebook-lsp` is installed into your `$PATH`.
93
+
94
+
[Install nvim-lspconfig](https://github.com/neovim/nvim-lspconfig?tab=readme-ov-file#install) if you have not already.
95
+
Then, add the following to your Neovim configuration:
96
+
97
+
```sh
98
+
vim.lsp.enable('cookbook')
99
+
```
100
+
89
101
### Other Editors
90
102
91
103
Any editor that implements the Language Server Protocol should be compatible with Codebook. To get started, follow the [installation instructions](#installation), then consult your editor's documentation to learn how to configure and enable a new language server. For your reference, the following command starts the server such that it listens on `STDIN` and emits on `STDOUT`:
@@ -152,12 +164,12 @@ You can install the latest release using [eget](https://github.com/zyedidia/eget
152
164
eget blopker/codebook
153
165
```
154
166
155
-
### Arch User Repository
167
+
### Arch Linux
156
168
157
-
The binary release is available on the AUR under the [codebook-bin](https://aur.archlinux.org/packages/codebook-bin) package. Arch users can easily install it with their favorite AUR helper, such as [paru](https://github.com/Morganamilo/paru):
0 commit comments