Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix emacs native compilation warning #136

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Eask
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
(source "gnu")
(source "melpa")

(website-url "https://github.com/emacs-lsp/lsp-treemacs")
(keywords "languages")

(depends-on "emacs" "26.1")
(depends-on "dash")
(depends-on "f")
Expand Down
9 changes: 6 additions & 3 deletions lsp-treemacs.el
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,8 @@ will be rendered an empty line between them."

;;;###autoload
(define-minor-mode lsp-treemacs-sync-mode
"Global minor mode for synchronizing lsp-mode workspace folders and treemacs projects."
"Global minor mode for synchronizing lsp-mode workspace folders
and treemacs projects."
:init-value nil
:group 'lsp-treemacs
:global t
Expand Down Expand Up @@ -981,7 +982,8 @@ depending on if a custom mode line is detected."
;;;###autoload
(defun lsp-treemacs-references (arg)
"Show the references for the symbol at point.
With a prefix argument, select the new window and expand the tree of references automatically."
With a prefix argument, select the new window and expand the tree
of references automatically."
(interactive "P")
(lsp-treemacs--do-search "textDocument/references"
`(:context (:includeDeclaration t) ,@(lsp--text-document-position-params))
Expand All @@ -991,7 +993,8 @@ With a prefix argument, select the new window and expand the tree of references
;;;###autoload
(defun lsp-treemacs-implementations (arg)
"Show the implementations for the symbol at point.
With a prefix argument, select the new window expand the tree of implementations automatically."
With a prefix argument, select the new window expand the tree of
implementations automatically."
(interactive "P")
(lsp-treemacs--do-search "textDocument/implementation"
(lsp--text-document-position-params)
Expand Down