mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-21 02:55:09 +02:00
basic puppet support
This commit is contained in:
parent
2b877ee53e
commit
5d204a4691
3 changed files with 15 additions and 0 deletions
1
ftplugin/puppet.lua
Normal file
1
ftplugin/puppet.lua
Normal file
|
@ -0,0 +1 @@
|
||||||
|
require("lsp").setup "puppet"
|
0
ftplugin/thing.pp
Normal file
0
ftplugin/thing.pp
Normal 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 = {
|
javascript = {
|
||||||
-- @usage can be prettier or eslint
|
-- @usage can be prettier or eslint
|
||||||
formatter = {
|
formatter = {
|
||||||
|
|
Loading…
Reference in a new issue