aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/tflint.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/lspconfig/tflint.lua')
-rw-r--r--lua/lspconfig/tflint.lua12
1 files changed, 6 insertions, 6 deletions
diff --git a/lua/lspconfig/tflint.lua b/lua/lspconfig/tflint.lua
index ce4c3c65..a58416e0 100644
--- a/lua/lspconfig/tflint.lua
+++ b/lua/lspconfig/tflint.lua
@@ -3,9 +3,9 @@ local util = require "lspconfig/util"
configs.tflint = {
default_config = {
- cmd = {"tflint", "--langserver"},
- filetypes = {"terraform"},
- root_dir = util.root_pattern(".terraform", ".git", ".tflint.hcl")
+ cmd = { "tflint", "--langserver" },
+ filetypes = { "terraform" },
+ root_dir = util.root_pattern(".terraform", ".git", ".tflint.hcl"),
},
docs = {
description = [[
@@ -15,8 +15,8 @@ A pluggable Terraform linter that can act as lsp server.
Installation instructions can be found in https://github.com/terraform-linters/tflint#installation.
]],
default_config = {
- root_dir = [[root_pattern(".terraform", ".git", ".tflint.hcl")]]
- }
- }
+ root_dir = [[root_pattern(".terraform", ".git", ".tflint.hcl")]],
+ },
+ },
}
-- vim:et ts=2 sw=2