Skip to content

Commit

Permalink
docs: add config from #143
Browse files Browse the repository at this point in the history
  • Loading branch information
elijah-potter committed Jan 10, 2025
1 parent 911db64 commit 54f6a34
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions packages/web/src/routes/docs/integrations/neovim/+page.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,20 @@ lspconfig.harper_ls.setup {
}
```

For example, if you want to use Vim's dictionary, you can do something like this:

```lua
lspconfig.harper_ls.setup({
settings = {
["harper-ls"] = {
userDictPath = vim.fn.stdpath("config") .. "/spell/en.utf-8.add",
},
},
})
```

See the [relevant issue for details](https://github.com/Automattic/harper/issues/143).

### Linters

Linters are grammatical rules Harper looks for to correct your work.
Expand Down

0 comments on commit 54f6a34

Please sign in to comment.