File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 11591159 (setq-local face-remapping-alist '((button . default )))
11601160 (lsp-treemacs--set-mode-line-format search-buffer title)
11611161 (lsp-treemacs-generic-refresh)
1162- (when (equal expand? '(4 ))
1163- (lsp-treemacs--expand 'LSP-Generic ))
1162+ (when expand? (lsp-treemacs--expand 'LSP-Generic ))
11641163 (current-buffer ))))
11651164
11661165(defalias 'lsp-treemacs--show-references 'lsp-treemacs-render )
@@ -1192,12 +1191,12 @@ depending on if a custom mode line is detected."
11921191 (let ((lsp-file-truename-cache (ht)))
11931192 (lsp-treemacs-render (lsp-treemacs--handle-references refs)
11941193 (format title (length refs))
1195- prefix-args)))
1194+ ( and prefix-args ( not ( equal prefix-args 0 ))) )))
11961195 (lsp--info " Refresh completed!" ))
11971196 :mode 'detached
11981197 :cancel-token :treemacs-lookup )
11991198
1200- (unless (zerop prefix-args)
1199+ (unless (equal prefix-args 0 )
12011200 (select-window window)
12021201 (set-window-dedicated-p window t ))
12031202
You can’t perform that action at this time.
0 commit comments