outcommenting terraform ls since it works better this way for some reason. I will need to look into

This commit is contained in:
tobias 2025-05-02 14:29:49 +02:00
parent a7c3dcf6c3
commit 260f35039d

View File

@ -71,15 +71,15 @@ return {
})
end,
["terraformls"] = function ()
local lspconfig = require("lspconfig")
lspconfig["terraformls"].setup({
cmd = {"terraform-ls", "server"},
filetypes = { 'terraform', 'terraform-vars', 'tf', 'hcl' },
root_dir = lspconfig.util.root_pattern("Documents"),
single_file_support = false,
})
end,
-- ["terraformls"] = function ()
-- local lspconfig = require("lspconfig")
-- lspconfig["terraformls"].setup({
-- cmd = {"terraform-ls", "server"},
-- filetypes = { 'tf', 'hcl' },
-- root_dir = lspconfig.util.root_pattern("Documents"),
-- single_file_support = false,
-- })
-- end,
["bashls"] = function ()
local lspconfig = require("lspconfig")