blob: 7d551e5c2ec583cba13b4c20ad2a5c38c9f63ea3 (
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
|
local configs = require 'lspconfig/configs'
local util = require 'lspconfig/util'
configs.terraformls = {
default_config = {
cmd = {"terraform-ls"};
filetypes = {"terraform"};
root_dir = util.root_pattern(".terraform", ".git");
};
docs = {
package_json = "https://raw.githubusercontent.com/hashicorp/vscode-terraform/master/package.json";
description = [[
https://github.com/hashicorp/terraform-ls
Terraform language server
Download a released binary from https://github.com/hashicorp/terraform-ls/releases.
]];
default_config = {
root_dir = [[root_pattern(".terraform", ".git")]];
};
};
}
-- vim:et ts=2 sw=2
|