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 -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20220726181905.DE2A61C0823%40moolenaar.net.

Raspunde prin e-mail lui