fix snippet file parsing
This commit is contained in:
parent
df261c6763
commit
62c514135d
4 changed files with 13 additions and 10 deletions
|
|
@ -600,7 +600,7 @@ env.editSnippets = function() {
|
|||
editor.on("blur", function() {
|
||||
m.snippetText = editor.getValue();
|
||||
snippetManager.unregister(m.snippets);
|
||||
m.snippets = snippetManager.parseSnippetFile(m.snippetText);
|
||||
m.snippets = snippetManager.parseSnippetFile(m.snippetText, m.scope);
|
||||
snippetManager.register(m.snippets);
|
||||
})
|
||||
sp.$editors[0].once("changeMode", function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue