From a33c92ce5ba21895d74133a22de0839e5ad3b4ab Mon Sep 17 00:00:00 2001 From: Ruslan Date: Thu, 15 Aug 2024 14:22:47 +0300 Subject: [PATCH] lsp: configure filetypes for tfls --- lua/crentist/lazy/lsp.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lua/crentist/lazy/lsp.lua b/lua/crentist/lazy/lsp.lua index 45aa6e4..d7b465f 100644 --- a/lua/crentist/lazy/lsp.lua +++ b/lua/crentist/lazy/lsp.lua @@ -147,6 +147,9 @@ return { } } } + lspconfig.terraformls.setup { + filetypes = { 'terraform', 'terraform-vars', 'tf' } + } end }