aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CONFIG.md38
1 files changed, 37 insertions, 1 deletions
diff --git a/CONFIG.md b/CONFIG.md
index 3cf79e32..83a745f2 100644
--- a/CONFIG.md
+++ b/CONFIG.md
@@ -54,6 +54,7 @@ that config.
- [phpactor](#phpactor)
- [powershell_es](#powershell_es)
- [prismals](#prismals)
+- [puppet](#puppet)
- [purescriptls](#purescriptls)
- [pyls](#pyls)
- [pyls_ms](#pyls_ms)
@@ -3715,7 +3716,7 @@ require'lspconfig'.ocamllsp.setup{}
Default Values:
cmd = { "ocamllsp" }
- filetypes = { "ocaml", "ocamllex", "menhir", "reason", "ocamlinterface" }
+ filetypes = { "ocaml", "menhir", "ocamlinterface", "reason", "ocamllex" }
get_language_id = function(_, ftype)
return language_id_of[ftype]
end
@@ -4009,6 +4010,41 @@ require'lspconfig'.prismals.setup{}
```
+## puppet
+
+LSP server for Puppet.
+
+Installation:
+
+- Clone the editor-services repository:
+ https://github.com/puppetlabs/puppet-editor-services
+
+- Navigate into that directory and run: `bundle install`
+
+- Install the 'puppet-lint' gem: `gem install puppet-lint`
+
+- Add that repository to $PATH.
+
+- Ensure you can run `puppet-languageserver` from outside the editor-services directory.
+
+
+
+**Snippet to enable the language server:**
+```lua
+require'lspconfig'.puppet.setup{}
+```
+
+**Commands and default values:**
+```lua
+ Commands:
+
+ Default Values:
+ cmd = { "puppet-languageserver", "--stdio" }
+ filetypes = { "puppet" }
+ root_dir = root_pattern("manifests", ".puppet-lint.rc", "hiera.yaml", ".git")
+```
+
+
## purescriptls
https://github.com/nwolverson/purescript-language-server