summaryrefslogtreecommitdiffstats
path: root/runtime/filetype.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-09-01 15:01:25 +0100
committerBram Moolenaar <Bram@vim.org>2022-09-01 15:01:25 +0100
commitbe807d582499acbe314ead3891481cba6ca136df (patch)
tree89e6a4e6e613d54c63653570c69a7c5a935f7674 /runtime/filetype.vim
parent36eb14fa3e729434cbb6f9078b4b330ae4f864f9 (diff)
patch 9.0.0349: filetype of *.sil files not well detectedv9.0.0349
Problem: Filetype of *.sil files not well detected. Solution: Inspect the file contents to guess the filetype.
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r--runtime/filetype.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index c2b89a5f80..c7670d08ca 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1822,7 +1822,7 @@ au BufNewFile,BufRead *.score setf slrnsc
au BufNewFile,BufRead *.st setf st
" Smalltalk (and Rexx, TeX, and Visual Basic)
-au BufNewFile,BufRead *.cls call dist#ft#FTcls()
+au BufNewFile,BufRead *.cls call dist#ft#FTcls()
" Smarty templates
au BufNewFile,BufRead *.tpl setf smarty
@@ -1929,8 +1929,8 @@ au BufNewFile,BufRead *.cm setf voscm
au BufNewFile,BufRead *.swift setf swift
au BufNewFile,BufRead *.swift.gyb setf swiftgyb
-" Swift Intermediate Language
-au BufNewFile,BufRead *.sil setf sil
+" Swift Intermediate Language or SILE
+au BufNewFile,BufRead *.sil call dist#ft#FTsil()
" Sysctl
au BufNewFile,BufRead */etc/sysctl.conf,*/etc/sysctl.d/*.conf setf sysctl