feat: add terraform tools
This commit is contained in:
parent
64cc7cd63b
commit
04c29f5f0f
3 changed files with 4 additions and 1 deletions
|
@ -7,7 +7,7 @@ local capabilities = configs.capabilities
|
|||
local lspconfig = require "lspconfig"
|
||||
|
||||
-- if you just want default config for the servers then put them in a table
|
||||
local servers = { "html", "cssls", "ts_ls", "yamlls", "ansiblels", "bashls", "rls", "gopls" }
|
||||
local servers = { "html", "cssls", "ts_ls", "yamlls", "ansiblels", "bashls", "rls", "gopls", "terraformls" }
|
||||
|
||||
for _, lsp in ipairs(servers) do
|
||||
lspconfig[lsp].setup {
|
||||
|
|
|
@ -2,4 +2,5 @@ require("lint").linters_by_ft = {
|
|||
yaml = { "yamllint" },
|
||||
ansible = { "ansible_lint" },
|
||||
markdown = { "markdownlint" },
|
||||
terraform = { "tflint" },
|
||||
}
|
||||
|
|
|
@ -33,6 +33,8 @@ return {
|
|||
"prettier",
|
||||
"gopls",
|
||||
"markdownlint",
|
||||
"terraformls",
|
||||
"tflint",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue