aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorElijah Potter <elijah.sirius@protonmail.com>2024-03-03 23:04:59 -0700
committerGitHub <noreply@github.com>2024-03-04 14:04:59 +0800
commitbd2e75be702896094cb01786bae11791c2485b40 (patch)
treec01207595549b82bf3f8973889fb3a1860fa53d0 /lua
parentdocs: update server_configurations.md (diff)
downloadnvim-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.lua16
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]],