We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5bd0c75 commit 71c73a4Copy full SHA for 71c73a4
lib/runtime/workspace.coffee
@@ -3,6 +3,8 @@
3
{views} = require '../ui'
4
{client} = require '../connection'
5
6
+modules = require './modules'
7
+
8
{workspace, clearLazy} = client.import rpc: 'workspace', msg: 'clearLazy'
9
10
module.exports =
@@ -19,7 +21,7 @@ module.exports =
19
21
return @ws.setItems [] unless client.isActive() and @ws.currentPane()
20
22
clearLazy @lazyTrees
23
registerLazy = (id) => @lazyTrees.push id
- p = workspace('Main').then (ws) =>
24
+ p = workspace(modules.current()).then (ws) =>
25
for {items} in ws
26
for item in items
27
item.value = views.render item.value, {registerLazy}
0 commit comments