mirror of
https://github.com/kbwo/testing-language-server.git
synced 2025-08-03 23:28:14 +00:00
chore(demo): add example config of helix
This commit is contained in:
parent
ee2acbb3a4
commit
5211310b7f
1 changed files with 49 additions and 0 deletions
49
demo/.helix/languages.toml
Normal file
49
demo/.helix/languages.toml
Normal file
|
@ -0,0 +1,49 @@
|
|||
[language-server.testing-ls]
|
||||
command = "testing-language-server"
|
||||
args = []
|
||||
|
||||
[language-server.testing-ls.config.adapterCommand]
|
||||
cargo-test = [
|
||||
{ path = "testing-ls-adapter", extra_arg = ["--test-kind=cargo-test"], include = ["/**/src/**/*.rs"], exclude = ["/**/target/**"] }
|
||||
]
|
||||
cargo-nextest = [
|
||||
{ path = "testing-ls-adapter", extra_arg = ["--test-kind=cargo-nextest"], include = ["/**/src/**/*.rs"], exclude = ["/**/target/**"] }
|
||||
]
|
||||
jest = [
|
||||
{ path = "testing-ls-adapter", extra_arg = ["--test-kind=jest"], include = ["/jest/*.js"], exclude = ["/jest/**/node_modules/**/*"] }
|
||||
]
|
||||
vitest = [
|
||||
{ path = "testing-ls-adapter", extra_arg = ["--test-kind=vitest"], include = ["/vitest/*.test.ts", "/vitest/config/**/*.test.ts"], exclude = ["/vitest/**/node_modules/**/*"] }
|
||||
]
|
||||
deno = [
|
||||
{ path = "testing-ls-adapter", extra_arg = ["--test-kind=deno"], include = ["/deno/*.ts"], exclude = [] }
|
||||
]
|
||||
go = [
|
||||
{ path = "testing-ls-adapter", extra_arg = ["--test-kind=go-test"], include = ["/**/*.go"], exclude = [] }
|
||||
]
|
||||
node-test = [
|
||||
{ path = "testing-ls-adapter", extra_arg = ["--test-kind=node-test"], include = ["/node-test/*.test.js"], exclude = [] }
|
||||
]
|
||||
phpunit = [
|
||||
{ path = "testing-ls-adapter", extra_arg = ["--test-kind=phpunit"], include = ["/**/*Test.php"], exclude = ["/phpunit/vendor/**/*.php"] }
|
||||
]
|
||||
|
||||
[[language]]
|
||||
name = "rust"
|
||||
language-servers = [ { name = "testing-ls", only-features = [ "diagnostics" ] }, "rust-analyzer" ]
|
||||
|
||||
[[language]]
|
||||
name = "typescript"
|
||||
language-servers = [ { name = "testing-ls", only-features = [ "diagnostics" ] }, "typescript-language-server" ]
|
||||
|
||||
[[language]]
|
||||
name = "php"
|
||||
language-servers = [ { name = "testing-ls", only-features = [ "diagnostics" ] }, "phpactor" ]
|
||||
|
||||
[[language]]
|
||||
name = "go"
|
||||
language-servers = [ { name = "testing-ls", only-features = [ "diagnostics" ] }, "gopls" ]
|
||||
|
||||
[[language]]
|
||||
name = "javascript"
|
||||
language-servers = [ { name = "testing-ls", only-features = [ "diagnostics" ] }, "typescript-language-server" ]
|
Loading…
Add table
Add a link
Reference in a new issue