Run notifications in background to hide latency

This commit is contained in:
Zachary Yedidia
2020-08-10 22:49:29 -04:00
parent c344f1bfce
commit f0b1158ab6
5 changed files with 34 additions and 23 deletions

View File

@@ -195,5 +195,8 @@ func (b *Buffer) saveToFile(filename string, withSudo bool) error {
b.AbsPath = absPath
b.isModified = false
b.UpdateRules()
b.server.DidSave(b.AbsPath)
return err
}