diff options
| -rw-r--r-- | ftplugin/puppet.lua | 1 | ||||
| -rw-r--r-- | ftplugin/thing.pp | 0 | ||||
| -rw-r--r-- | lua/default-config.lua | 14 | 
3 files changed, 15 insertions, 0 deletions
| diff --git a/ftplugin/puppet.lua b/ftplugin/puppet.lua new file mode 100644 index 00000000..f8521762 --- /dev/null +++ b/ftplugin/puppet.lua @@ -0,0 +1 @@ +require("lsp").setup "puppet" diff --git a/ftplugin/thing.pp b/ftplugin/thing.pp new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/ftplugin/thing.pp diff --git a/lua/default-config.lua b/lua/default-config.lua index 0cd4639c..3029e47a 100644 --- a/lua/default-config.lua +++ b/lua/default-config.lua @@ -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 = { | 
