Closed knarkzel closed 1 year ago
@knarkzel You need to specify a :files
directive, e.g., :files (:defaults "*.py" "acm/*" "core/*")
.
See :files
section in below URL for more detail.
https://github.com/radian-software/straight.el#the-recipe-format
(I'm not good at English. I'm sorry if it's hard to understand or seems cold.)
I will try that, thanks for the tip.
Are there other files I need? When running with lsp-bridge
, I get errors like these:
Error in post-command-hook (lsp-bridge-monitor-post-command): (void-variable acm-backend-tabnine-cache-candiates)
After disabling acm-enable-tabnine
, I get this:
Error in post-command-hook (lsp-bridge-monitor-post-command): (void-variable acm-backend-path-cache-candiates)
And when disabling acm-enable-path
, I get same error message.
Try deleting the .elc and .eln files and disabling byte compile and native compile for lsp-bridge.
Nice, that actually fixed it. I deleted these folders:
~/.emacs.d/eln-cache
~/.emacs.d/repos/lsp-bridge
~/.emacs.d/straight/build-lsp-bridge
Then used following configuration for use-package
with straight
:
(use-package lsp-bridge
:straight '(lsp-bridge :type git :host github :repo "manateelazycat/lsp-bridge" :files (:defaults "*.py" "acm/*" "core/*") :build (:not compile))
:init
(global-lsp-bridge-mode))
Nice, that actually fixed it. I deleted these folders:
~/.emacs.d/eln-cache
~/.emacs.d/repos/lsp-bridge
~/.emacs.d/straight/build-lsp-bridge
Then used following configuration for
use-package
withstraight
:(use-package lsp-bridge :straight '(lsp-bridge :type git :host github :repo "manateelazycat/lsp-bridge" :files (:defaults "*.py" "acm/*" "core/*") :build (:not compile)) :init (global-lsp-bridge-mode))
can you add above in readme as a pr? thanks
When I try installing
lsp-bridge
, I get no such file or directoryacm-frame
. I tried using it locally as well, but got same error. I'm on the latest emacs: