Open rezaamashi opened 1 month ago
lsp-bridge support git or .dir-locals.el, I can't understand what your mean.
Hello.
From what I understand lsp-bridge-get-single-lang-server-by-project
is set up through the user's init.el
. My questions were:
lsp-bridge-get-single-lang-server-by-project
in project-by-project basis through .dir-locals.el
? Instead of having it set up in user's init.el
.I see, but I haven't use .dir-locals.el
You can try to change code of lsp-bridge--get-project-path-func, PR are welcome
As exampled in #471, I reckon the way to set up
lsp-bridge-get-single-lang-server-by-project
is by statically setting it ininit.el
. I personally use.dir-locals.el
for my project specific set up. Is there a way to dynamically set it specifically per project through.dir-locals.el
? perhaps like:Thanks
PS: Also to note I am still currently unable to set up
lsp-bridge-get-single-lang-server-by-project
properly. Even if I statically setproject-path
manually. In above case any yaml file still callsyaml-language-server
instead ofansible-language-server