diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-07-26 19:18:28 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-07-26 19:18:28 +0100 |
commit | 15b87b6610bfce0c6296bbbad019c944f88a74ca (patch) | |
tree | 92873510f09663b1659444ed53a11f0169c9bc43 /runtime | |
parent | c9e8fd6fc7d2027d0645b376d95a6ed51098036c (diff) | |
download | vim-git-15b87b6610bfce0c6296bbbad019c944f88a74ca.tar.gz |
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.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index ce3838d10..ae5260439 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 |