-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enable this extension also for behat cucumber files #36
Comments
I guess it should be fine. If the supported file types are set in the coc extebsion then feel free to make an MR :) |
Well, I've just tried to create a patch to add After applying this patch:
{
"$schema": "/var/home/adrien/.local/applications/phpactor/phpactor.schema.json",
"symfony.enabled": true,
"indexer.exclude_patterns": [
"/vendor/**/Tests/**/*",
"/vendor/**/tests/**/*",
"/var/cache/**/*",
"/vendor/composer/**/*"
],
"behat.enabled": true,
"behat.symfony.di_xml_path": "%project_root%/var/cache/dev/App_KernelDevDebugContainer.xml"
}
I don't understand why it doesn't work for cucumber files as I've never did a coc-nvim extension before. Some help would be appreciated :) For the moment, I've set this coc configuration which seems to do the same thing than the coc-phpactor extension, but it works well for both php and cucumber files: {
"languageserver": {
"local-phpactor": {
"enable": true,
"filetypes": ["php", "cucumber"],
"command": "phpactor",
"args": ["language-server"]
}
}
}
|
Hello,
According to the phpactor behat integration documentation, I have to configure the language server to be enabled on "php" and "cucumber" file types.
If I read correctly, currently the coc-phpactor extension enables the phpactor language server only for php files.
Is it possible to add cucumber files too by default or to add an extension option to enable the language server for these files ?
The text was updated successfully, but these errors were encountered: