mirror of
https://github.com/keith/swift.vim.git
synced 2025-12-12 20:35:53 +01:00
Add swiftinterface file type detection
This isn't really swift but it's better than nothing
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
autocmd BufNewFile,BufRead *.swift set filetype=swift
|
||||
autocmd BufNewFile,BufRead *.swiftinterface set filetype=swift
|
||||
autocmd BufRead * call s:Swift()
|
||||
function! s:Swift()
|
||||
if !empty(&filetype)
|
||||
|
||||
Reference in New Issue
Block a user