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.
13 lines
340 B
VimL
13 lines
340 B
VimL
" Vim filetype plugin
|
|
" Language: SysML
|
|
" Author: Daumantas Kavolis <daumantas.kavolis@sensmetry.com>
|
|
" Last Change: 2025-10-03
|
|
|
|
" Only do this when not done yet for this buffer
|
|
if exists("b:did_ftplugin")
|
|
finish
|
|
endif
|
|
|
|
" Behaves mostly just like KerML, only differs by keywords
|
|
runtime! ftplugin/kerml[.]{vim,lua}
|