From e0b2fefbb1ed48dd086310d9adfcc88cde8b0aea Mon Sep 17 00:00:00 2001 From: github-actions Date: Fri, 22 Oct 2021 08:28:34 +0000 Subject: docs: update CONFIG.md skip-checks: true --- CONFIG.md | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) (limited to 'CONFIG.md') 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 -- cgit v1.2.3-70-g09d2