mirror of
https://github.com/neovim/neovim.git
synced 2026-07-23 09:23:09 +00:00
Problem:
Vimscript ftplugins that inherit a base ftplugin often use explicit
`runtime! ftplugin/foo.vim` patterns. This skips corresponding Lua
ftplugins, unlike top-level ftplugin loading.
Solution:
Use the existing `{vim,lua}` patterns for bang runtime imports while
preserving each call's current lookup breadth.
12 lines
429 B
VimL
12 lines
429 B
VimL
" This source file is part of the Swift.org open source project
|
|
"
|
|
" Copyright (c) 2014 - 2020 Apple Inc. and the Swift project authors
|
|
" Licensed under Apache License v2.0 with Runtime Library Exception
|
|
"
|
|
" See https://swift.org/LICENSE.txt for license information
|
|
" See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
|
|
"
|
|
" Vim maintainer: Emir SARI <bitigchi@me.com>
|
|
|
|
runtime! ftplugin/swift[.]{vim,lua}
|