aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgithub-actions <github-actions@github.com>2021-10-22 08:28:34 +0000
committergithub-actions <github-actions@github.com>2021-10-22 08:28:34 +0000
commite0b2fefbb1ed48dd086310d9adfcc88cde8b0aea (patch)
tree43dd26a921d6c8438795ef40f7c4ae40ed46bf2c
parentfeat: add flux-lsp configuration (#1335) (diff)
downloadnvim-lspconfig-e0b2fefbb1ed48dd086310d9adfcc88cde8b0aea.tar
nvim-lspconfig-e0b2fefbb1ed48dd086310d9adfcc88cde8b0aea.tar.gz
nvim-lspconfig-e0b2fefbb1ed48dd086310d9adfcc88cde8b0aea.tar.bz2
nvim-lspconfig-e0b2fefbb1ed48dd086310d9adfcc88cde8b0aea.tar.lz
nvim-lspconfig-e0b2fefbb1ed48dd086310d9adfcc88cde8b0aea.tar.xz
nvim-lspconfig-e0b2fefbb1ed48dd086310d9adfcc88cde8b0aea.tar.zst
nvim-lspconfig-e0b2fefbb1ed48dd086310d9adfcc88cde8b0aea.zip
docs: update CONFIG.md
skip-checks: true
-rw-r--r--CONFIG.md29
1 files changed, 27 insertions, 2 deletions
diff --git a/CONFIG.md b/CONFIG.md
index 20ce884d..35bf7055 100644
--- a/CONFIG.md
+++ b/CONFIG.md
@@ -33,6 +33,7 @@ that config.
- [erlangls](#erlangls)
- [eslint](#eslint)
- [flow](#flow)
+- [flux-lsp](#flux-lsp)
- [fortls](#fortls)
- [fsautocomplete](#fsautocomplete)
- [gdscript](#gdscript)
@@ -1577,8 +1578,6 @@ This server accepts configuration via the `settings` key.
- **`elixirLS.fetchDeps`**: `boolean`
- Default: `true`
-
Automatically fetch project dependencies when compiling
- **`elixirLS.mixEnv`**: `string`
@@ -2000,6 +1999,32 @@ require'lspconfig'.flow.setup{}
```
+## flux-lsp
+
+https://github.com/influxdata/flux-lsp
+`flux-lsp` can be installed via `cargo`:
+```sh
+cargo install --git https://github.com/influxdata/flux-lsp
+```
+
+
+
+**Snippet to enable the language server:**
+```lua
+require'lspconfig'.flux-lsp.setup{}
+```
+
+**Commands and default values:**
+```lua
+ Commands:
+
+ Default Values:
+ cmd = { "flux-lsp" }
+ filetypes = { "flux" }
+ root_dir = root_pattern(".git")
+```
+
+
## fortls
https://github.com/hansec/fortran-language-server