mirror of
https://github.com/kbwo/testing-language-server.git
synced 2025-07-23 19:05:16 +00:00
add example of coc-setitngs.json
This commit is contained in:
parent
84e1e36d18
commit
a3eaa5ce67
1 changed files with 29 additions and 0 deletions
29
test_proj/.vim/coc-settings.json
Normal file
29
test_proj/.vim/coc-settings.json
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
{
|
||||||
|
"languageserver": {
|
||||||
|
"testing": {
|
||||||
|
"command": "testing-language-server",
|
||||||
|
"trace.server": "verbose",
|
||||||
|
"filetypes": ["rust", "javascript"],
|
||||||
|
"initializationOptions": {
|
||||||
|
"adapterCommand": {
|
||||||
|
".rs": [
|
||||||
|
{
|
||||||
|
"path": "testing-ls-adapter",
|
||||||
|
"extra_args": ["--test-kind=cargo-test"],
|
||||||
|
"include_patterns": ["/**/*.rs"],
|
||||||
|
"exclude_patterns": ["/**/target/**"]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
".js": [
|
||||||
|
{
|
||||||
|
"path": "testing-ls-adapter",
|
||||||
|
"extra_args": ["--test-kind=jest"],
|
||||||
|
"include_patterns": ["/**/*.js"],
|
||||||
|
"exclude_patterns": ["/node_modules/**/*"]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue