-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #2321 - micbou:improve-ultisnips-support, r=micbou
[READY] Do not depend on UltiSnips internals to fetch snippets Use the `UltiSnips#SnippetsInCurrentScope` public function instead of the `UltiSnips_Manager` internal object to fetch snippets. Fixes #2320. Give a workaround in the FAQ for snippets not suggested as candidates if added with the `:UltiSnipsAddFiletypes` command. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/valloric/youcompleteme/2321) <!-- Reviewable:end -->
- Loading branch information
Showing
3 changed files
with
48 additions
and
43 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
when I upgrade the lastest version of ycm, I find use vim open a file,there always report this exception,like "处理 function youcompleteme#Enable..71_OnBufferRead 时发生错误" and "E117: Unknown function: UltiSnips#SnippetsInCurrentScope" and "E15: 无效的表达式: UltiSnips#SnippetsInCurrentScope( 1 ),that pullzed me,to avoid this problem,I reset YCM version to commit ID:e8047050cd6209374fbb7cd4259801a25a1ee47e