-
-
Notifications
You must be signed in to change notification settings - Fork 890
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lsp-xml: Allow automatic download of Lemminx (LSP XML) server #2264
Conversation
af00f83
to
a47583b
Compare
clients/lsp-xml.el
Outdated
"org.eclipse.lsp4xml-0.3.0-uber.jar")) | ||
(defconst lsp-xml-jar-version "0.13.1") | ||
|
||
(defconst lsp-xml-jar-name (s-concat "org.eclipse.lemminx-" lsp-xml-jar-version "-uber.jar")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: a format would look easier
(defconst lsp-xml-jar-name (s-concat "org.eclipse.lemminx-" lsp-xml-jar-version "-uber.jar")) | |
(defconst lsp-xml-jar-name (format "org.eclipse.lemminx-%s-uber.jar" lsp-xml-jar-version)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! Fixed in 73442c8
clients/lsp-xml.el
Outdated
"Xml server jar command." | ||
:type 'string | ||
:group 'lsp-xml | ||
:type 'file | ||
:package-version '(lsp-mode . "6.1")) | ||
|
||
(defcustom lsp-xml-jar-download-url | ||
(s-concat |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here, format
is easier to see how the final url looks like
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the feedback. Fixed in 73442c8
- Add helper constants to reduce repetition of current version. - Store jar in `lsp-server-install-dir`
a47583b
to
73442c8
Compare
Just asking but is |
It seems the project was renamed and transferred to the Eclipse project. |
Thank you! |
1 similar comment
Thank you! |
lsp-server-install-dir