diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-01-22 20:21:05 -0500 |
---|---|---|
committer | Daniel Hahler <git@thequod.de> | 2020-01-23 02:21:05 +0100 |
commit | 71ee46accfd235bad2b8460065100b31bb2d8165 (patch) | |
tree | b94c6ee738bcb3da5b4acfe2e08f28ff3be04e25 /runtime | |
parent | 91bd1ddf3b5572076a233d6113c6cb092faa74f2 (diff) | |
download | rneovim-71ee46accfd235bad2b8460065100b31bb2d8165.tar.gz rneovim-71ee46accfd235bad2b8460065100b31bb2d8165.tar.bz2 rneovim-71ee46accfd235bad2b8460065100b31bb2d8165.zip |
vim-patch:8.2.0141: no swift filetype detection (#11747)
Problem: No swift filetype detection.
Solution: Add swift, swiftgyb and sil. (Emir Sarı, closes vim/vim#5517)
https://github.com/vim/vim/commit/0d76683e094c6cac2e879601aff3acf1163cbe0b
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 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 |