It seems that depending on what version the language server plugin was first installed (or perhaps what version of IDE you are using), the plugin path can be jsonnet-language-server and Jsonnet Language Server under the plugins/ root. v0.3.0 switched to jsonnet-language-server, which broke existing plugins.
This change handles both scenarios by checking if
jsonnet-language-server dir exists, and if not falls back to using Jsonnet Language Server.
It seems that depending on what version the language server plugin was first installed (or perhaps what version of IDE you are using), the plugin path can be
jsonnet-language-server
andJsonnet Language Server
under theplugins/
root. v0.3.0 switched tojsonnet-language-server
, which broke existing plugins.This change handles both scenarios by checking if
jsonnet-language-server
dir exists, and if not falls back to usingJsonnet Language Server
.Fixes: https://github.com/zzehring/intellij-jsonnet/issues/97