feat(lsp): add unused xml_ls
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
local lsp = require("lsp")
|
||||
|
||||
---@type vim.lsp.Config
|
||||
return {
|
||||
cmd = {
|
||||
vim.env.HOME .. "/repos/xml-ls/target/release/xml-ls",
|
||||
},
|
||||
filetypes = { "xml" },
|
||||
root_markers = { ".git" },
|
||||
on_attach = lsp.on_attach,
|
||||
init_options = {
|
||||
logLevel = "warning",
|
||||
numWorkers = 4,
|
||||
},
|
||||
settings = {
|
||||
xml = {
|
||||
diagnostics = {
|
||||
enabled = true,
|
||||
relatedInformation = "hint",
|
||||
},
|
||||
formatter = {
|
||||
indentWidth = 2,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user