diff options
| author | Jonas Strittmatter <40792180+smjonas@users.noreply.github.com> | 2022-09-02 08:16:17 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-02 08:16:17 +0200 |
| commit | ce80b8f50d7d56ac12aa06a64a65799ec18b69af (patch) | |
| tree | 778a1643173565b4b12175eb863c67072e76a02f /runtime/filetype.vim | |
| parent | 12fe197cffc687cedc65259d9fd8351a25aa7792 (diff) | |
| download | rneovim-ce80b8f50d7d56ac12aa06a64a65799ec18b69af.tar.gz rneovim-ce80b8f50d7d56ac12aa06a64a65799ec18b69af.tar.bz2 rneovim-ce80b8f50d7d56ac12aa06a64a65799ec18b69af.zip | |
vim-patch:9.0.0349: filetype of *.sil files not well detected (#20050)
Problem: Filetype of *.sil files not well detected.
Solution: Inspect the file contents to guess the filetype.
https://github.com/vim/vim/commit/be807d582499acbe314ead3891481cba6ca136df
Diffstat (limited to 'runtime/filetype.vim')
| -rw-r--r-- | runtime/filetype.vim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 98d9df8b5c..d26cb808b5 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -1823,7 +1823,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 @@ -1930,8 +1930,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 |