I’m trying to add a language-specific feature. I do this by using
workspaceView.eachEditorView and only subscribing commands to editors with the right grammar.
This works fine except for when I split the editor and have the same file open in multiple panes. The initial editor stops handling the command while the other editor with the same file continues to work.
Is this a bug?