aboutsummaryrefslogtreecommitdiffstats
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authorAntonin Godard <37036499+antznin@users.noreply.github.com>2024-06-14 20:22:52 -0700
committerGitHub <noreply@github.com>2024-06-15 11:22:52 +0800
commitbd7c76375a511994c9ca8d69441f134dc10ae3bd (patch)
tree10e15547e3857ea77a1a8c828b64083419476cf5 /CONTRIBUTING.md
parentdocs: update server_configurations.md (diff)
downloadnvim-lspconfig-bd7c76375a511994c9ca8d69441f134dc10ae3bd.tar
nvim-lspconfig-bd7c76375a511994c9ca8d69441f134dc10ae3bd.tar.gz
nvim-lspconfig-bd7c76375a511994c9ca8d69441f134dc10ae3bd.tar.bz2
nvim-lspconfig-bd7c76375a511994c9ca8d69441f134dc10ae3bd.tar.lz
nvim-lspconfig-bd7c76375a511994c9ca8d69441f134dc10ae3bd.tar.xz
nvim-lspconfig-bd7c76375a511994c9ca8d69441f134dc10ae3bd.tar.zst
nvim-lspconfig-bd7c76375a511994c9ca8d69441f134dc10ae3bd.zip
fix(CONTRIBUTING): typos (#3204)
Fix tense and incomplete sentence. Signed-off-by: Antonin Godard <antoningodard@pm.me>
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r--CONTRIBUTING.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index f328abfc..b83ee8a3 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -18,7 +18,7 @@ The point of lspconfig is to provide the minimal configuration necessary for a s
## Adding a server to lspconfig
-The general form of adding a new language server is to start with a minimal skeleton. This includes populated the `config` table with a `default_config` and `docs` table.
+The general form of adding a new language server is to start with a minimal skeleton. This includes populating the `config` table with a `default_config` and `docs` table.
When choosing a server name, convert all dashes (`-`) to underscores (`_`) If the name of the server is a unique name (`pyright`, `clangd`) or a commonly used abbreviation (`zls`), prefer this as the server name. If the server instead follows the pattern x-language-server, prefer the convention `x_ls` (`jsonnet_ls`).
@@ -30,7 +30,7 @@ Note that Windows has a limitation when it comes to directly invoking a server t
cmd = { 'typescript-language-server', '--stdio' }
```
-* `filetypes`: a list for filetypes a
+* `filetypes`: a list for filetypes the server should match with
* `root_dir`: a function (or function handle) which returns the root of the project used to determine if lspconfig should launch a new language server, or attach a previously launched server when you open a new buffer matching the filetype of the server. Note, lspconfig does not offer a dedicated single file mode (this is not codified in the spec). Do not add `vim.fn.cwd` or `util.path.dirname` in `root_dir`. A future version of lspconfig will provide emulation of a single file mode until this is formally codified in the specification. A good fallback is `util.find_git_ancestor`, see other configurations for examples.
Additionally, the following options are often added: