forked from ycm-core/ycmd
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In general this is terrible, compared to working normal completion, but some servers (json, yaml) will only ever return snippet completions, and they will not be convinved to change. The approach is to put the snippet text in the extra_data and have the client expand the snippet in-place on selecting the completion item. As many servers will agressively over-use snippets when the client claims they support it, we _dont'_ claim we support it, but provide a mechanism for extra_conf files to override the capabilities that we declare. This allows users to enable snippets where they make sense, i.e. for the json LS.
- Loading branch information
1 parent
3a9b933
commit 2578f9e
Showing
3 changed files
with
35 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters