From 71ee46accfd235bad2b8460065100b31bb2d8165 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Wed, 22 Jan 2020 20:21:05 -0500 Subject: vim-patch:8.2.0141: no swift filetype detection (#11747) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Problem: No swift filetype detection. Solution: Add swift, swiftgyb and sil. (Emir Sarı, closes vim/vim#5517) https://github.com/vim/vim/commit/0d76683e094c6cac2e879601aff3acf1163cbe0b --- runtime/filetype.vim | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'runtime') diff --git a/runtime/filetype.vim b/runtime/filetype.vim index e66630259e..656ee36484 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -1623,6 +1623,13 @@ au BufNewFile,BufRead *.sml setf sml " Sratus VOS command macro au BufNewFile,BufRead *.cm setf voscm +" Swift +au BufNewFile,BufRead *.swift setf swift +au BufNewFile,BufRead *.swift.gyb setf swiftgyb + +" Swift Intermediate Language +au BufNewFile,BufRead *.sil setf sil + " Sysctl au BufNewFile,BufRead */etc/sysctl.conf,*/etc/sysctl.d/*.conf setf sysctl -- cgit