Merge pull request #1728 from zed-industries/plain-text-leaks

Clear auto-indent requests if they couldn't be computed
This commit is contained in:
Antonio Scandurra 2022-10-12 10:38:44 +01:00 committed by GitHub
commit a19783919c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -866,6 +866,8 @@ impl Buffer {
})); }));
} }
} }
} else {
self.autoindent_requests.clear();
} }
} }