Skip to content

Commit 169c6d0

Browse files
committed
fix: terraform-ls filetypes
by default only tf is not included and an empty tf file is recognized as tf instead of terraform
1 parent 3ea5e77 commit 169c6d0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lua/vnext/plugins/lsp.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,9 @@ return {
8282
marksman = {},
8383
pyright = {},
8484
templ = {},
85-
terraformls = {},
85+
terraformls = {
86+
filetypes = { "terraform", "terraform-vars", "tf" },
87+
},
8688
tinymist = {},
8789
ts_ls = {},
8890
yamlls = {

0 commit comments

Comments
 (0)