GramEditor/gram
39
984
Fork
You've already forked gram
88

feat: add XML language server lemminx #121

Merged
krig merged 2 commits from theDoctor/gram:feat/add-xml-language-server into main 2026年03月17日 16:00:44 +01:00
Contributor
Copy link

This makes use of the language server here: https://github.com/redhat-developer/vscode-xml

This makes use of the language server here: https://github.com/redhat-developer/vscode-xml
theDoctor force-pushed feat/add-xml-language-server from cb5b44bcad to 02721f4e78 2026年03月17日 12:00:09 +01:00 Compare
@ -0,0 +77,4 @@
other=>returnErr(anyhow!("unsupported architecture: {}",other)),
};
ifSelf::OS_NAME!="osx"&&arch!="x86_64"{
Owner
Copy link

Looking at the repository it looks like there are binaries for Linux and Windows available too (guessing that they are x86_64 only), so maybe this check should only be for arch and not OS_NAME?

Looking at the repository it looks like there are binaries for Linux and Windows available too (guessing that they are x86_64 only), so maybe this check should only be for arch and not OS_NAME?
Author
Contributor
Copy link

The language server binary is not provided for aarch64 architectures on Linux or Windows. To account for this, the check is meant to raise an error, if an OS that isn't macOS with an architecture that isn't x86_64 tries to get the binary.

If checking only for arch, that would result in a false positive on macOS-aarch64.

I updated the error message to make this more clear.

The language server binary is not provided for aarch64 architectures on Linux or Windows. To account for this, the check is meant to raise an error, if an OS that isn't macOS with an architecture that isn't x86_64 tries to get the binary. If checking only for arch, that would result in a false positive on macOS-aarch64. I updated the error message to make this more clear.
krig marked this conversation as resolved
theDoctor force-pushed feat/add-xml-language-server from 02721f4e78 to 06a8e0bb3c 2026年03月17日 13:21:30 +01:00 Compare
theDoctor force-pushed feat/add-xml-language-server from 06a8e0bb3c to 3d0a67f9d7 2026年03月17日 13:22:40 +01:00 Compare
theDoctor force-pushed feat/add-xml-language-server from 028f7cd108 to f0e985260d 2026年03月17日 13:28:02 +01:00 Compare
Owner
Copy link

Right, now I got it. Thank you!

Right, now I got it. Thank you!
Sign in to join this conversation.
No reviewers
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
GramEditor/gram!121
Reference in a new issue
GramEditor/gram
No description provided.
Delete branch "theDoctor/gram:feat/add-xml-language-server"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?