aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/server_configurations.md42
-rw-r--r--doc/server_configurations.txt42
2 files changed, 84 insertions, 0 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md
index c12997f7..31c20d2d 100644
--- a/doc/server_configurations.md
+++ b/doc/server_configurations.md
@@ -111,6 +111,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running
- [nickel_ls](#nickel_ls)
- [nil_ls](#nil_ls)
- [nimls](#nimls)
+- [nomad_lsp](#nomad_lsp)
- [ntt](#ntt)
- [nxls](#nxls)
- [ocamlls](#ocamlls)
@@ -4725,6 +4726,47 @@ require'lspconfig'.nimls.setup{}
```
+## nomad_lsp
+
+https://github.com/juliosueiras/nomad-lsp
+
+Written in Go, compilation is needed for `nomad_lsp` to be used. Please see the [original repository](https://github.com/juliosuieras/nomad-lsp).
+
+Add the executable to your system or vim PATH and it will be set to go.
+
+No configuration option is needed unless you choose not to add `nomad-lsp` executable to the PATH. You should know what you are doing if you choose so.
+
+```lua
+require('lspconfig').nomad_lsp.setup{ }
+```
+
+However, a `hcl.nomad` or `nomad` filetype should be defined.
+
+Description of your jobs should be written in `.nomad` files for the LSP client to configure the server's `root_dir` configuration option.
+
+
+
+**Snippet to enable the language server:**
+```lua
+require'lspconfig'.nomad_lsp.setup{}
+```
+
+
+**Default values:**
+ - `cmd` :
+ ```lua
+ { "nomad-lsp" }
+ ```
+ - `filetypes` :
+ ```lua
+ { "hcl.nomad", "nomad" }
+ ```
+ - `root_dir` :
+ ```lua
+ util.root_pattern("hcl.nomad", "nomad")
+ ```
+
+
## ntt
https://github.com/nokia/ntt
diff --git a/doc/server_configurations.txt b/doc/server_configurations.txt
index c12997f7..31c20d2d 100644
--- a/doc/server_configurations.txt
+++ b/doc/server_configurations.txt
@@ -111,6 +111,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running
- [nickel_ls](#nickel_ls)
- [nil_ls](#nil_ls)
- [nimls](#nimls)
+- [nomad_lsp](#nomad_lsp)
- [ntt](#ntt)
- [nxls](#nxls)
- [ocamlls](#ocamlls)
@@ -4725,6 +4726,47 @@ require'lspconfig'.nimls.setup{}
```
+## nomad_lsp
+
+https://github.com/juliosueiras/nomad-lsp
+
+Written in Go, compilation is needed for `nomad_lsp` to be used. Please see the [original repository](https://github.com/juliosuieras/nomad-lsp).
+
+Add the executable to your system or vim PATH and it will be set to go.
+
+No configuration option is needed unless you choose not to add `nomad-lsp` executable to the PATH. You should know what you are doing if you choose so.
+
+```lua
+require('lspconfig').nomad_lsp.setup{ }
+```
+
+However, a `hcl.nomad` or `nomad` filetype should be defined.
+
+Description of your jobs should be written in `.nomad` files for the LSP client to configure the server's `root_dir` configuration option.
+
+
+
+**Snippet to enable the language server:**
+```lua
+require'lspconfig'.nomad_lsp.setup{}
+```
+
+
+**Default values:**
+ - `cmd` :
+ ```lua
+ { "nomad-lsp" }
+ ```
+ - `filetypes` :
+ ```lua
+ { "hcl.nomad", "nomad" }
+ ```
+ - `root_dir` :
+ ```lua
+ util.root_pattern("hcl.nomad", "nomad")
+ ```
+
+
## ntt
https://github.com/nokia/ntt