Commit d474e2d7 authored by chris's avatar chris

fix

parent ed01d36d
......@@ -16,10 +16,12 @@ class SaveCommand extends Command {
}
execute(params) {
params.surface.context.editor.emit('hightLightSave')
const editorSession = params.editorSession
const dirty = params.editorSession.hasUnsavedChanges()
editorSession.save()
setTimeout(() => {
params.surface.context.editor.emit('hightLightSave')
})
// if (dirty)
return {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment