diff options
| author | Elijah Potter <elijah.sirius@protonmail.com> | 2024-03-03 23:04:59 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-04 14:04:59 +0800 |
| commit | bd2e75be702896094cb01786bae11791c2485b40 (patch) | |
| tree | c01207595549b82bf3f8973889fb3a1860fa53d0 /lua | |
| parent | docs: update server_configurations.md (diff) | |
| download | nvim-lspconfig-bd2e75be702896094cb01786bae11791c2485b40.tar nvim-lspconfig-bd2e75be702896094cb01786bae11791c2485b40.tar.gz nvim-lspconfig-bd2e75be702896094cb01786bae11791c2485b40.tar.bz2 nvim-lspconfig-bd2e75be702896094cb01786bae11791c2485b40.tar.lz nvim-lspconfig-bd2e75be702896094cb01786bae11791c2485b40.tar.xz nvim-lspconfig-bd2e75be702896094cb01786bae11791c2485b40.tar.zst nvim-lspconfig-bd2e75be702896094cb01786bae11791c2485b40.zip | |
docs: updated documentation for `harper-ls` (#3045)
* feat: updated documentation for `harper-ls`
* fix(style): now aligns with `nvim-lspconfig` style guide
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/server_configurations/harper_ls.lua | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/lua/lspconfig/server_configurations/harper_ls.lua b/lua/lspconfig/server_configurations/harper_ls.lua index 261a12fc..0a989a6f 100644 --- a/lua/lspconfig/server_configurations/harper_ls.lua +++ b/lua/lspconfig/server_configurations/harper_ls.lua @@ -24,10 +24,22 @@ return { }, docs = { description = [[ -https://github.com/chilipepperhott/harper_ls +https://github.com/chilipepperhott/harper The language server for Harper, the slim, clean language checker for developers. -As of right now, there are no settings to be configured for `harper_ls`. + +See [docs](https://github.com/chilipepperhott/harper/tree/master/harper-ls#configuration) for more information on settings. + +In short, however, they should look something like this: +```lua +lspconfig.harper_ls.setup { + settings = { + ["harper-ls"] = { + userDictPath = "~/dict.txt" + } + }, +} +``` ]], default_config = { root_dir = [[bufdir]], |
