To: vim_dev@googlegroups.com Subject: Patch 9.0.0084 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.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) Files: runtime/filetype.vim, src/testdir/test_filetype.vim *** ../vim-9.0.0083/runtime/filetype.vim 2022-07-25 21:40:03.169430727 +0100 --- runtime/filetype.vim 2022-07-26 19:16:28.804812536 +0100 *************** *** 1982,1989 **** " Terminfo au BufNewFile,BufRead *.ti setf terminfo ! " Terraform ! au BufRead,BufNewFile *.tfvars setf terraform " TeX au BufNewFile,BufRead *.latex,*.sty,*.dtx,*.ltx,*.bbl setf tex --- 1982,1989 ---- " Terminfo au BufNewFile,BufRead *.ti setf terminfo ! " Terraform variables ! au BufRead,BufNewFile *.tfvars setf terraform-vars " TeX au BufNewFile,BufRead *.latex,*.sty,*.dtx,*.ltx,*.bbl setf tex *** ../vim-9.0.0083/src/testdir/test_filetype.vim 2022-07-25 21:40:03.173430713 +0100 --- src/testdir/test_filetype.vim 2022-07-26 19:13:32.576604775 +0100 *************** *** 549,555 **** \ 'template': ['file.tmpl'], \ 'teraterm': ['file.ttl'], \ 'terminfo': ['file.ti'], ! \ 'terraform': ['file.tfvars'], \ 'tex': ['file.latex', 'file.sty', 'file.dtx', 'file.ltx', 'file.bbl'], \ 'texinfo': ['file.texinfo', 'file.texi', 'file.txi'], \ 'texmf': ['texmf.cnf'], --- 549,555 ---- \ 'template': ['file.tmpl'], \ 'teraterm': ['file.ttl'], \ 'terminfo': ['file.ti'], ! \ 'terraform-vars': ['file.tfvars'], \ 'tex': ['file.latex', 'file.sty', 'file.dtx', 'file.ltx', 'file.bbl'], \ 'texinfo': ['file.texinfo', 'file.texi', 'file.txi'], \ 'texmf': ['texmf.cnf'], *** ../vim-9.0.0083/src/version.c 2022-07-26 18:12:35.094727070 +0100 --- src/version.c 2022-07-26 19:18:09.636884687 +0100 *************** *** 737,738 **** --- 737,740 ---- { /* Add new patch number below this line */ + /**/ + 84, /**/ -- hundred-and-one symptoms of being an internet addict: 138. You develop a liking for cold coffee. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///