Merge pull request #350 from genebean/stuff

Attempt adding a LSP setting to puppet
This commit is contained in:
Gene Liverman 2024-01-05 15:51:30 -05:00 committed by GitHub
commit 2aa2ee3e2f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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,