aboutsummaryrefslogtreecommitdiff
path: root/runtime/filetype.vim
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2022-01-28 18:44:03 +0100
committerGitHub <noreply@github.com>2022-01-28 18:44:03 +0100
commit65529dd7a13d5f5340c44c36c443bcd830522cef (patch)
treeef70ee0b3e6eb7d56e56b00d3e893bef804cd405 /runtime/filetype.vim
parent6cb670cb2ce83a50177eaf37656c0b3c07c3ffde (diff)
parent5b9980f01eb021b0d84f540a6618f94ad2727153 (diff)
downloadrneovim-65529dd7a13d5f5340c44c36c443bcd830522cef.tar.gz
rneovim-65529dd7a13d5f5340c44c36c443bcd830522cef.tar.bz2
rneovim-65529dd7a13d5f5340c44c36c443bcd830522cef.zip
Merge pull request #17223 from clason/vim-8.2.4238
vim-patch:8.2.4238: *.tf file could be fileytpe "tf" or "terraform"
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r--runtime/filetype.vim9
1 files changed, 6 insertions, 3 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index 2a0a5110f2..6a27998cf4 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1942,10 +1942,13 @@ au BufNewFile,BufRead texmf.cnf setf texmf
au BufNewFile,BufRead .tidyrc,tidyrc,tidy.conf setf tidy
" TF mud client
-au BufNewFile,BufRead *.tf,.tfrc,tfrc setf tf
+au BufNewFile,BufRead .tfrc,tfrc setf tf
+
+" TF mud client or terraform
+au BufNewFile,BufRead *.tf call dist#ft#FTtf()
" TLA+
-au BufRead,BufNewFile *.tla setf tla
+au BufNewFile,BufRead *.tla setf tla
" tmux configuration
au BufNewFile,BufRead {.,}tmux*.conf setf tmux
@@ -1954,7 +1957,7 @@ au BufNewFile,BufRead {.,}tmux*.conf setf tmux
au BufNewFile,BufRead *.toml setf toml
" TPP - Text Presentation Program
-au BufNewFile,BufReadPost *.tpp setf tpp
+au BufNewFile,BufRead *.tpp setf tpp
" Treetop
au BufRead,BufNewFile *.treetop setf treetop