summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-07-26 19:18:28 +0100
committerBram Moolenaar <Bram@vim.org>2022-07-26 19:18:28 +0100
commit15b87b6610bfce0c6296bbbad019c944f88a74ca (patch)
tree92873510f09663b1659444ed53a11f0169c9bc43 /runtime
parentc9e8fd6fc7d2027d0645b376d95a6ed51098036c (diff)
patch 9.0.0084: using "terraform" filetype for .tfvars file is badv9.0.0084
Problem: Using "terraform" filetype for .tfvars file is bad. Solution: use "terraform-vars", so that different completion and other mechanisms can be used. (Radek Simko, closes #10755)
Diffstat (limited to 'runtime')
-rw-r--r--runtime/filetype.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index ce3838d10e..ae52604392 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1982,8 +1982,8 @@ au BufRead,BufNewFile *.ttl
" Terminfo
au BufNewFile,BufRead *.ti setf terminfo
-" Terraform
-au BufRead,BufNewFile *.tfvars setf terraform
+" Terraform variables
+au BufRead,BufNewFile *.tfvars setf terraform-vars
" TeX
au BufNewFile,BufRead *.latex,*.sty,*.dtx,*.ltx,*.bbl setf tex