We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7275207 commit 95e4850Copy full SHA for 95e4850
lsp-metals-treeview.el
@@ -56,6 +56,15 @@
56
(require 'lsp-treemacs)
57
(require 'lsp-metals-protocol)
58
59
+(dolist (method '("metals/treeViewChildren"
60
+ "metals/treeViewVisibilityDidChange"
61
+ "metals/treeViewNodeCollapseDidChange"
62
+ "metals/treeViewReveal"))
63
+ (add-to-list 'lsp-method-requirements
64
+ `(,method :check-command (lambda (workspace)
65
+ (eq (lsp--workspace-server-id workspace) 'metals)))
66
+ t))
67
+
68
(defcustom lsp-metals-treeview-logging nil
69
"If non nil log treeview trace/debug messages to the `lsp-log' for debugging."
70
:group 'lsp-metals-treeview
0 commit comments