mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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)
0d76683e09
This commit is contained in:
committed by
Daniel Hahler
parent
91bd1ddf3b
commit
71ee46accf
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user