Attempt adding a LSP setting to puppet

This commit is contained in:
Gene Liverman 2024-01-05 15:50:16 -05:00
parent 74b38fab03
commit 7bff48e8e3

View file

@ -50,7 +50,8 @@ return {
lspconfig.puppet.setup({
capabilities = capabilities,
on_attach = on_attach,
cmd = { puppet_languageserver, "--feature-flags=puppetstrings", },
cmd = { puppet_languageserver, "--feature-flags=puppetstrings" },
settings = { puppet = { editorServices = { formatOnType = { enable = true } } } },
})
lspconfig.ruff_lsp.setup({ on_attach = on_attach })
end,