mirror of
https://github.com/neovim/neovim.git
synced 2026-07-22 17:02:59 +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.
15 lines
354 B
VimL
15 lines
354 B
VimL
" Vim filetype plugin file
|
|
" Language: sbt
|
|
" Maintainer: Steven Dobay <stevendobay at protonmail.com>
|
|
" License: Same as Vim
|
|
" Last Change: 2017.04.30
|
|
" ----------------------------------------------------------------------------
|
|
|
|
if exists('b:did_ftplugin') || &cp
|
|
finish
|
|
endif
|
|
|
|
runtime! ftplugin/scala[.]{vim,lua}
|
|
|
|
let b:did_ftplugin = 1
|