Skip to content

Commit a16bbec

Browse files
committed
fix: Byte-compile warnings
1 parent f760681 commit a16bbec

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

lsp-treemacs-generic.el

+2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
(defvar-local lsp-treemacs--right-click-actions nil)
3333
(defvar-local lsp-treemacs-generic-filter nil)
3434

35+
(declare-function lsp-treemacs--set-mode-line-format "lsp-treemacs.el")
36+
3537
(defmacro lsp-treemacs-wcb-unless-killed (buffer &rest body)
3638
"`with-current-buffer' unless buffer killed."
3739
(declare (indent 1) (debug t))

lsp-treemacs.el

+10-7
Original file line numberDiff line numberDiff line change
@@ -125,22 +125,22 @@ Fallback to list all workspaces if no project root is found."
125125
:group 'lsp-treemacs)
126126

127127
(defcustom lsp-treemacs-error-list-expand-depth nil
128-
"Automatic expansion depth for `lsp-treemacs-error-list'"
128+
"Automatic expansion depth for `lsp-treemacs-error-list'."
129129
:type 'number
130130
:group 'lsp-treemacs)
131131

132132
(defcustom lsp-treemacs-call-hierarchy-expand-depth nil
133-
"Automatic expansion depth for `lsp-treemacs-call-hierarchy'"
133+
"Automatic expansion depth for `lsp-treemacs-call-hierarchy'."
134134
:type 'number
135135
:group 'lsp-treemacs)
136136

137137
(defcustom lsp-treemacs-type-hierarchy-expand-depth nil
138-
"Automatic expansion depth for `lsp-treemacs-type-hierarchy'"
138+
"Automatic expansion depth for `lsp-treemacs-type-hierarchy'."
139139
:type 'number
140140
:group 'lsp-treemacs)
141141

142142
(defcustom lsp-treemacs-java-deps-list-expand-depth nil
143-
"Automatic expansion depth for `lsp-treemacs-java-deps-list'"
143+
"Automatic expansion depth for `lsp-treemacs-java-deps-list'."
144144
:type 'number
145145
:group 'lsp-treemacs)
146146

@@ -586,7 +586,8 @@ will be rendered an empty line between them."
586586

587587
;;;###autoload
588588
(define-minor-mode lsp-treemacs-sync-mode
589-
"Global minor mode for synchronizing lsp-mode workspace folders and treemacs projects."
589+
"Global minor mode for synchronizing lsp-mode workspace folders and
590+
treemacs projects."
590591
:init-value nil
591592
:group 'lsp-treemacs
592593
:global t
@@ -751,7 +752,8 @@ depending on if a custom mode line is detected."
751752
;;;###autoload
752753
(defun lsp-treemacs-references (arg)
753754
"Show the references for the symbol at point.
754-
With a prefix argument, select the new window and expand the tree of references automatically."
755+
With a prefix argument, select the new window and expand the tree of
756+
references automatically."
755757
(interactive "P")
756758
(lsp-treemacs--do-search
757759
"textDocument/references"
@@ -762,7 +764,8 @@ With a prefix argument, select the new window and expand the tree of references
762764
;;;###autoload
763765
(defun lsp-treemacs-implementations (arg)
764766
"Show the implementations for the symbol at point.
765-
With a prefix argument, select the new window expand the tree of implementations automatically."
767+
With a prefix argument, select the new window expand the tree of
768+
implementations automatically."
766769
(interactive "P")
767770
(lsp-treemacs--do-search "textDocument/implementation"
768771
(lsp--text-document-position-params)

0 commit comments

Comments
 (0)