Skip to content

Commit ba47aa8

Browse files
committed
Add use-package configuration example in comment header.
Simple example to show user how to enable and configure Metals treeview using use-package. Note: this relies on autoload - when developing it may be easier to explicitly require the package from a local dev area.
1 parent 888dc9c commit ba47aa8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lsp-metals-treeview.el

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@
3939
;; a simple starting point to test the treeview with metals and we can evolve
4040
;; to a Hydra like interface to provide a richer keyboard experience in future.
4141
;;
42+
;; Example of use-package initialisation to enable Metals Treeview
43+
;; (use-package lsp-treemacs
44+
;; :config
45+
;; (lsp-metals-treeview-enable t)
46+
;; (setq lsp-metals-treeview-show-when-views-received t))
47+
;;
4248

4349
;;; Code:
4450

0 commit comments

Comments
 (0)