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.
11 lines
248 B
VimL
11 lines
248 B
VimL
" Vim filetype plugin file
|
|
" Language: OpenSSH server configuration file
|
|
" Maintainer: Yinzuo Jiang <jiangyinzuo@foxmail.com>
|
|
" Latest Revision: 2024-05-17
|
|
|
|
if exists("b:did_ftplugin")
|
|
finish
|
|
endif
|
|
|
|
runtime! ftplugin/conf[.]{vim,lua}
|