1
0
Fork 0

nvim: lsp: lemminx: fix cache dir

This commit is contained in:
tastytea 2022-09-17 14:27:05 +02:00
parent 8f05665c02
commit 8d1d281bc1
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 7 additions and 0 deletions

View File

@ -153,6 +153,13 @@ if vim.fn.executable('lemminx') > 0 then
filetypes = {
'xml', 'xsd', 'xsl', 'xslt', 'svg', 'gentoo-metadata'
},
settings = {
xml = {
server = { -- path for cached XML Schemas
workDir = vim.fn.stdpath('cache') .. '/lemminx'
}
}
},
on_attach = on_attach,
capabilities = capabilities
})