0

Goal:

  • Disable LSP-Bridge's path-completion on /bin/ directory.
  • But let it be work on other directories. (I really like it)

Why: When I edit some small shell scripts, path-completion feature hangs more than 5-10 seconds on /bin directory. Which frustrates me to wait very long. I'm assuming this is because number of items in the /bin directory (which is ~5000 in my case).

enter image description here

What I've tried: Basically none. My experience it not enough at the time. I haven't even find which elisp function is doing the path-completion feature.

1 Answer 1

1

https://github.com/manateelazycat/lsp-bridge/commit/eb50e4ca8e7fa59861b49393605bd65e55306d2b

Has fixed this, please update.

4
  • Damn, @ManateeLazyCat, you yourself work blazingly as fast as your lsp-bridge. Really appreciate it. I'm a fan of your project.
    – Garid
    Jan 6, 2023 at 16:31
  • I'm not sure what is happening, When I checkout this commit eb50e4c, the popup-menu for path-completion doesn't show up. (while on previous commit 5716cce, path-completion pops up).
    – Garid
    Jan 6, 2023 at 18:04
  • 1
    you need emacs -Q for compare test. please send an issue if still have problem Jan 7, 2023 at 2:08
  • It works just fine. Thank you,
    – Garid
    Jan 12, 2023 at 2:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.