goto definition being very slow?
I've been giving buf-language-server a try.
I added it to my ~/.config/helix/languages.toml:
[[language]]
name = "protobuf"
scope = "source.proto"
injection-regex = "protobuf"
file-types = ["proto"]
roots = []
comment-token = "//"
language-server = { command = "bufls", args = [ "serve" ] }
indent = { tab-width = 2, unit = " " }
I typed gd on a symbol. For some reason, it takes 3-5 seconds for it to jump, even if the symbol is in the same file?
What version of Helix are you using and what OS/ARCH are you running under? We've since updated the version of buf used by the language server, so if you can pull latest and try again this could help us debug.
This is on NixOS, x86_64-linux, using Helix 22.08.1. bufls was 2022-08-19.
I assume you're referring to 1e927a5df5123ab6db768e2566d0455e065c27d2. I updated my version of bufls in $PATH to point to that, same behaviour.