aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2024-11-07 11:25:46 +0000
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2024-11-07 11:25:46 +0000
commitd01864641c6e43c681c3e9f6cf4745c75fdd9dcc (patch)
tree9b060a2f4e7e2c7f65ae93010082c1d14f025331
parentfeat: add the official Nextflow Language Server nextflow_ls (#3423) (diff)
downloadnvim-lspconfig-d01864641c6e43c681c3e9f6cf4745c75fdd9dcc.tar
nvim-lspconfig-d01864641c6e43c681c3e9f6cf4745c75fdd9dcc.tar.gz
nvim-lspconfig-d01864641c6e43c681c3e9f6cf4745c75fdd9dcc.tar.bz2
nvim-lspconfig-d01864641c6e43c681c3e9f6cf4745c75fdd9dcc.tar.lz
nvim-lspconfig-d01864641c6e43c681c3e9f6cf4745c75fdd9dcc.tar.xz
nvim-lspconfig-d01864641c6e43c681c3e9f6cf4745c75fdd9dcc.tar.zst
nvim-lspconfig-d01864641c6e43c681c3e9f6cf4745c75fdd9dcc.zip
docs: update configs.md
skip-checks: true
-rw-r--r--doc/configs.md54
-rw-r--r--doc/configs.txt54
2 files changed, 108 insertions, 0 deletions
diff --git a/doc/configs.md b/doc/configs.md
index 65df59e9..5f222b7e 100644
--- a/doc/configs.md
+++ b/doc/configs.md
@@ -183,6 +183,7 @@ Nvim by running `:help lspconfig-all`.
- [mutt_ls](#mutt_ls)
- [nelua_lsp](#nelua_lsp)
- [neocmake](#neocmake)
+- [nextflow_ls](#nextflow_ls)
- [nextls](#nextls)
- [nginx_language_server](#nginx_language_server)
- [nickel_ls](#nickel_ls)
@@ -6416,6 +6417,59 @@ Default config:
- `single_file_support` : `true`
+## nextflow_ls
+
+https://github.com/nextflow-io/language-server
+
+Requirements:
+ - Java 17+
+
+`nextflow_ls` can be installed by following the instructions [here](https://github.com/nextflow-io/language-server#development).
+
+If you have installed nextflow language server, you can set the `cmd` custom path as follow:
+
+```lua
+require'lspconfig'.nextflow_ls.setup{
+ cmd = { 'java', '-jar', 'nextflow-language-server-all.jar' },
+ filetypes = { 'nextflow' },
+ root_dir = util.root_pattern('nextflow.config', '.git'),
+ settings = {
+ nextflow = {
+ files = {
+ exclude = { '.git', '.nf-test', 'work' },
+ },
+ },
+ },
+}
+```
+
+Snippet to enable the language server:
+```lua
+require'lspconfig'.nextflow_ls.setup{}
+```
+
+Default config:
+- `cmd` :
+ ```lua
+ { "java", "-jar", "nextflow-language-server-all.jar" }
+ ```
+- `filetypes` :
+ ```lua
+ { "nextflow" }
+ ```
+- `root_dir` source (use "gF" to visit): [../lua/lspconfig/configs/nextflow_ls.lua:4](../lua/lspconfig/configs/nextflow_ls.lua#L4)
+- `settings` :
+ ```lua
+ {
+ nextflow = {
+ files = {
+ exclude = { ".git", ".nf-test", "work" }
+ }
+ }
+ }
+ ```
+
+
## nextls
https://github.com/elixir-tools/next-ls
diff --git a/doc/configs.txt b/doc/configs.txt
index 65df59e9..5f222b7e 100644
--- a/doc/configs.txt
+++ b/doc/configs.txt
@@ -183,6 +183,7 @@ Nvim by running `:help lspconfig-all`.
- [mutt_ls](#mutt_ls)
- [nelua_lsp](#nelua_lsp)
- [neocmake](#neocmake)
+- [nextflow_ls](#nextflow_ls)
- [nextls](#nextls)
- [nginx_language_server](#nginx_language_server)
- [nickel_ls](#nickel_ls)
@@ -6416,6 +6417,59 @@ Default config:
- `single_file_support` : `true`
+## nextflow_ls
+
+https://github.com/nextflow-io/language-server
+
+Requirements:
+ - Java 17+
+
+`nextflow_ls` can be installed by following the instructions [here](https://github.com/nextflow-io/language-server#development).
+
+If you have installed nextflow language server, you can set the `cmd` custom path as follow:
+
+```lua
+require'lspconfig'.nextflow_ls.setup{
+ cmd = { 'java', '-jar', 'nextflow-language-server-all.jar' },
+ filetypes = { 'nextflow' },
+ root_dir = util.root_pattern('nextflow.config', '.git'),
+ settings = {
+ nextflow = {
+ files = {
+ exclude = { '.git', '.nf-test', 'work' },
+ },
+ },
+ },
+}
+```
+
+Snippet to enable the language server:
+```lua
+require'lspconfig'.nextflow_ls.setup{}
+```
+
+Default config:
+- `cmd` :
+ ```lua
+ { "java", "-jar", "nextflow-language-server-all.jar" }
+ ```
+- `filetypes` :
+ ```lua
+ { "nextflow" }
+ ```
+- `root_dir` source (use "gF" to visit): [../lua/lspconfig/configs/nextflow_ls.lua:4](../lua/lspconfig/configs/nextflow_ls.lua#L4)
+- `settings` :
+ ```lua
+ {
+ nextflow = {
+ files = {
+ exclude = { ".git", ".nf-test", "work" }
+ }
+ }
+ }
+ ```
+
+
## nextls
https://github.com/elixir-tools/next-ls