emacs-lsp / lsp-treemacs

lsp-mode :heart: treemacs
GNU General Public License v3.0
396 stars 46 forks source link

[SOLVED] lsp-treemacs not working #80

Closed BonZai-841 closed 3 years ago

BonZai-841 commented 3 years ago

I am using doom emacs and I installed lsp-treemacs using M-x Package-install

after running lsp-treemacs-symbols or any other lsp-treemacs app it gives me this error Error processing message (void-function lsp-render-symbol).

jcs090218 commented 3 years ago

Hmm... This doesn't seems right. The function lsp-render-symbol defined in lsp-mode and then this package included lsp-mode at the very top of the file. 😕

leungbk commented 3 years ago

Doom has its own way of managing packages, using Straight.el.

WARNING: Do not install packages directly (with M-x package-install or M-x straight-use-package). Without an accompanying package! declaration somewhere these packages will be forgotten when you restart Emacs and uninstalled the next time you run doom sync or doom purge.

You should install using Doom's package! macro.

BonZai-841 commented 3 years ago

Doom has its own way of managing packages, using Straight.el.

WARNING: Do not install packages directly (with M-x package-install or M-x straight-use-package). Without an accompanying package! declaration somewhere these packages will be forgotten when you restart Emacs and uninstalled the next time you run doom sync or doom purge.

You should install using Doom's package! macro.

Oh thank you! it worked after using this code in ~/.doom.d/packages.el (package! lsp-treemacs)