Chris пре 4 година
родитељ
комит
5d204a4691
3 измењених фајлова са 15 додато и 0 уклоњено
  1. 1 0
      ftplugin/puppet.lua
  2. 0 0
      ftplugin/thing.pp
  3. 14 0
      lua/default-config.lua

+ 1 - 0
ftplugin/puppet.lua

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

+ 0 - 0
ftplugin/thing.pp


+ 14 - 0
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 = {