Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Don't watch editors more than once if they're re-added to the workspace #222

Merged
merged 1 commit into from Nov 28, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions lib/main.coffee
Expand Up @@ -42,6 +42,8 @@ module.exports =
@viewsByEditor = new WeakMap
@contextMenuEntries = []
@subs.add atom.workspace.observeTextEditors (editor) =>
return if @viewsByEditor.has(editor)

# For now, just don't spell check large files.
return if editor.largeFileMode

Expand Down