basic puppet support

This commit is contained in:
Chris 2021-07-27 12:27:56 -04:00
parent 2b877ee53e
commit 5d204a4691
3 changed files with 15 additions and 0 deletions

1
ftplugin/puppet.lua Normal file
View file

@ -0,0 +1 @@
require("lsp").setup "puppet"

0
ftplugin/thing.pp Normal file
View file

View file

@ -538,6 +538,20 @@ lvim.lang = {
},
},
},
puppet = {
formatter = {
exe = "",
args = {},
},
linters = {},
lsp = {
provider = "puppet",
setup = {
on_attach = require("lsp").common_on_attach,
capabilities = require("lsp").common_capabilities(),
},
},
},
javascript = {
-- @usage can be prettier or eslint
formatter = {