Move lsp config to local file structure

This commit is contained in:
Never Gude 2026-01-15 17:18:59 +01:00
parent e5c3bb2492
commit 20801272fc
383 changed files with 11829 additions and 114 deletions

View file

@ -0,0 +1,38 @@
---@brief
---
--- 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
--- vim.lsp.config('nextflow_ls', {
--- cmd = { 'java', '-jar', 'nextflow-language-server-all.jar' },
--- filetypes = { 'nextflow' },
--- settings = {
--- nextflow = {
--- files = {
--- exclude = { '.git', '.nf-test', 'work' },
--- },
--- },
--- },
--- })
--- ```
---@type vim.lsp.Config
return {
cmd = { 'java', '-jar', 'nextflow-language-server-all.jar' },
filetypes = { 'nextflow' },
root_markers = { 'nextflow.config', '.git' },
settings = {
nextflow = {
files = {
exclude = { '.git', '.nf-test', 'work' },
},
},
},
}