From 140430ffb73d5e0851ba2df2abd29106b1677687 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Mon, 1 Jul 2019 16:25:37 +0200 Subject: Update --- ftdetect/polyglot.vim | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'ftdetect') diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index b080cfd9..073ef3a5 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -631,11 +631,11 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'jenkins') == -1 augroup filetypedetect " jenkins, from Jenkinsfile.vim in martinda/Jenkinsfile-vim-syntax " Jenkinsfile -autocmd BufRead,BufNewFile Jenkinsfile set ft=Jenkinsfile -autocmd BufRead,BufNewFile Jenkinsfile* setf Jenkinsfile -autocmd BufRead,BufNewFile *.jenkinsfile set ft=Jenkinsfile -autocmd BufRead,BufNewFile *.jenkinsfile setf Jenkinsfile -autocmd BufRead,BufNewFile *.Jenkinsfile setf Jenkinsfile + +augroup JenkinsAUGroup + autocmd BufRead,BufNewFile *Jenkins* set ft=Jenkinsfile + autocmd BufRead,BufNewFile *jenkins* set ft=Jenkinsfile +augroup END augroup end endif @@ -1085,7 +1085,7 @@ endif if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'racket') == -1 augroup filetypedetect " racket, from racket.vim in wlangstroth/vim-racket -au BufRead,BufNewFile *.rkt,*.rktl setf racket +au BufRead,BufNewFile *.rkt,*.rktl set filetype=racket augroup end endif @@ -1348,6 +1348,8 @@ endif if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'terraform') == -1 augroup filetypedetect " terraform, from terraform.vim in hashivim/vim-terraform +" By default, Vim associates .tf files with TinyFugue - tell it not to. +autocmd! filetypedetect BufRead,BufNewFile *.tf autocmd BufRead,BufNewFile *.tf set filetype=terraform autocmd BufRead,BufNewFile *.tfvars set filetype=terraform autocmd BufRead,BufNewFile *.tfstate set filetype=json -- cgit v1.2.3