aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lsp/tflint.lua
blob: 60af7a8ab60d1cdb3d0506a2f5cec1d6009fa2d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
---@brief
---
--- https://github.com/terraform-linters/tflint
---
--- A pluggable Terraform linter that can act as lsp server.
--- Installation instructions can be found in https://github.com/terraform-linters/tflint#installation.

---@type vim.lsp.Config
return {
  cmd = { 'tflint', '--langserver' },
  filetypes = { 'terraform' },
  root_markers = { '.terraform', '.git', '.tflint.hcl' },
}