mirror of
https://github.com/vim/vim.git
synced 2025-10-02 05:04:20 -04:00
patch 9.0.0084: using "terraform" filetype for .tfvars file is bad
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)
This commit is contained in:
@@ -1982,8 +1982,8 @@ au BufRead,BufNewFile *.ttl
|
|||||||
" Terminfo
|
" Terminfo
|
||||||
au BufNewFile,BufRead *.ti setf terminfo
|
au BufNewFile,BufRead *.ti setf terminfo
|
||||||
|
|
||||||
" Terraform
|
" Terraform variables
|
||||||
au BufRead,BufNewFile *.tfvars setf terraform
|
au BufRead,BufNewFile *.tfvars setf terraform-vars
|
||||||
|
|
||||||
" TeX
|
" TeX
|
||||||
au BufNewFile,BufRead *.latex,*.sty,*.dtx,*.ltx,*.bbl setf tex
|
au BufNewFile,BufRead *.latex,*.sty,*.dtx,*.ltx,*.bbl setf tex
|
||||||
|
@@ -549,7 +549,7 @@ let s:filename_checks = {
|
|||||||
\ 'template': ['file.tmpl'],
|
\ 'template': ['file.tmpl'],
|
||||||
\ 'teraterm': ['file.ttl'],
|
\ 'teraterm': ['file.ttl'],
|
||||||
\ 'terminfo': ['file.ti'],
|
\ 'terminfo': ['file.ti'],
|
||||||
\ 'terraform': ['file.tfvars'],
|
\ 'terraform-vars': ['file.tfvars'],
|
||||||
\ 'tex': ['file.latex', 'file.sty', 'file.dtx', 'file.ltx', 'file.bbl'],
|
\ 'tex': ['file.latex', 'file.sty', 'file.dtx', 'file.ltx', 'file.bbl'],
|
||||||
\ 'texinfo': ['file.texinfo', 'file.texi', 'file.txi'],
|
\ 'texinfo': ['file.texinfo', 'file.texi', 'file.txi'],
|
||||||
\ 'texmf': ['texmf.cnf'],
|
\ 'texmf': ['texmf.cnf'],
|
||||||
|
@@ -735,6 +735,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
84,
|
||||||
/**/
|
/**/
|
||||||
83,
|
83,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user