Skip to content

Commit

Permalink
feat: added configuration section to harper-ls README
Browse files Browse the repository at this point in the history
  • Loading branch information
elijah-potter committed Mar 3, 2024
1 parent 6288b18 commit 6c4f492
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions harper-ls/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,19 @@ This dictionary is a simple word list in plain-text.
You can add and remove words at will.
You can add to the user dictionary with code actions on misspelled words.

#### Configuration

You don't have to stick with the default locations (listed above).
If you use Neovim, you can set the location of the dictionary with the `userDictPath` key:

```lua
lspconfig.harper_ls.setup {
settings = {
userDictPath = "~/dict.txt"
},
}
```

### File-Local Dictionary

Sometimes, you'll encounter a word (or name) that is only valid within the context of a specific file.
Expand Down

0 comments on commit 6c4f492

Please sign in to comment.