summaryrefslogtreecommitdiff
path: root/nvim/lsp/lemminx.lua
diff options
context:
space:
mode:
authoranand <anand.panchdhari@gmail.com>2025-12-17 15:57:55 +0530
committeranand <anand.panchdhari@gmail.com>2025-12-17 15:57:55 +0530
commitb7ef29a8886a57aadb787807a7c6cf74c1f0ed3a (patch)
tree366a68240fbc9da6b1d567bd6c46d1350ad814de /nvim/lsp/lemminx.lua
Nixos
Diffstat (limited to 'nvim/lsp/lemminx.lua')
-rwxr-xr-xnvim/lsp/lemminx.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/nvim/lsp/lemminx.lua b/nvim/lsp/lemminx.lua
new file mode 100755
index 0000000..57beaa2
--- /dev/null
+++ b/nvim/lsp/lemminx.lua
@@ -0,0 +1,12 @@
+---@brief
+---
+--- https://github.com/eclipse/lemminx
+---
+--- The easiest way to install the server is to get a binary from https://github.com/redhat-developer/vscode-xml/releases and place it on your PATH.
+---
+--- NOTE to macOS users: Binaries from unidentified developers are blocked by default. If you trust the downloaded binary, run it once, cancel the prompt, then remove the binary from Gatekeeper quarantine with `xattr -d com.apple.quarantine lemminx`. It should now run without being blocked.
+return {
+ cmd = { 'lemminx' },
+ filetypes = { 'xml', 'xsd', 'xsl', 'xslt', 'svg' },
+ root_markers = { '.git' },
+}