提交 683d3c6b 编写于 作者: J Johannes Rieken

fix #39085

上级 5ddc4c09
...@@ -226,6 +226,7 @@ class SnippetsService implements ISnippetsService { ...@@ -226,6 +226,7 @@ class SnippetsService implements ISnippetsService {
// not yet loaded // not yet loaded
return SnippetFile.fromFile(this._getUserSnippetFilepath(languageId), localize('source.snippet', "User Snippet")).then(file => { return SnippetFile.fromFile(this._getUserSnippetFilepath(languageId), localize('source.snippet', "User Snippet")).then(file => {
this._userSnippets.set(languageId, file.data); this._userSnippets.set(languageId, file.data);
bucket.push(...file.data);
}, err => { }, err => {
this._userSnippets.set(languageId, null); this._userSnippets.set(languageId, null);
}); });
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册