Skip to content

Customized YCMD completer for .feature files works in vim but not in Sublime Editor v3 #32

@lazyxiong

Description

@lazyxiong

Hello,

I have created a customized completer for .feature files (cucumber steps).
It works nicely in vim. Doesn't work in Sublime with YcmdCompletion plugin.
I realize it is not exactly YcmdCompletion team problem, but any help is appreciated.
Here is my setup:

I have Cucumber plugin for Sublime also installed.

Relevant settings for YcmdCompletion:

"ycmd_path": "/Users//.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd"
"python_binary_path": "/Users//.pyenv/shims/python"
"languages": ["cpp", "python", "cucumber"]

When I open a .feature file in a editor and the console, I see the following in the console:

[Ycmd] Local Server started at: http://localhost:54787
Indexing gherkin phrases done
[Ycmd][ConfigError] Language 'cucumber' specified in settings file is not supported by ycmd

It is something about telling ycmd server to use my completer (which is in the third_party/ dir) and it works in vim without issues.

Thank you for any help !
Alex

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions