add example of coc-setitngs.json

This commit is contained in:
kbwo 2024-06-22 19:31:07 +09:00
parent 84e1e36d18
commit a3eaa5ce67

View 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/**/*"]
}
]
}
}
}
}
}