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
329 B
VimL
15 lines
329 B
VimL
" Vim ftplugin file
|
|
" Language: Leex (Erlang Lexical Analyzer Generator)
|
|
" Maintainer: Jon Parise <jon@indelible.org>
|
|
" Last Change: 2025 Nov 29
|
|
" Filenames: *.xrl
|
|
"
|
|
" References:
|
|
" - https://www.erlang.org/doc/apps/parsetools/leex.html
|
|
|
|
if exists('b:did_ftplugin')
|
|
finish
|
|
endif
|
|
|
|
runtime! ftplugin/erlang[.]{vim,lua}
|