diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-01-22 22:10:54 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-01-22 22:10:54 +0100 |
commit | 0d76683e094c6cac2e879601aff3acf1163cbe0b (patch) | |
tree | cdaf6f71208d8744a37381d9240d9774b70cd201 /runtime | |
parent | ade0d39468014fd55d30f7647a1ac104baff4bc5 (diff) |
patch 8.2.0141: no swift filetype detectionv8.2.0141
Problem: No swift filetype detection.
Solution: Add swift, swiftgyb and sil. (Emir Sarı, closes #5517)
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/filetype.vim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index bee65a65bd..53f6708315 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -1627,6 +1627,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 |