blob: f8fcd7b78e51e9aabe74cd357f3c7121a6b2a407 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
local configs = require 'nvim_lsp/configs'
local util = require 'nvim_lsp/util'
local lsp = vim.lsp
configs.terraformls = {
default_config = {
cmd = {"terraform-lsp"};
filetypes = {"terraform"};
root_dir = util.root_pattern(".git");
log_level = lsp.protocol.MessageType.Warning;
settings = {};
};
docs = {
vscode = "mauve.terraform";
description = [[
https://github.com/juliosueiras/terraform-lsp
Terraform language server
You can use [released binary](https://github.com/juliosueiras/terraform-lsp/releases) or [build](https://github.com/juliosueiras/terraform-lsp#building) your own.
]];
default_config = {
root_dir = [[root_pattern(".git")]];
};
};
}
-- vim:et ts=2 sw=2
|