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.
14 lines
347 B
VimL
14 lines
347 B
VimL
" Vim filetype plugin file
|
|
" Language: Django HTML template
|
|
" Maintainer: Dave Hodder <dmh@dmh.org.uk>
|
|
" Last Change: 2007 Jan 25
|
|
|
|
" Only use this filetype plugin when no other was loaded.
|
|
if exists("b:did_ftplugin")
|
|
finish
|
|
endif
|
|
|
|
" Use HTML and Django template ftplugins.
|
|
runtime! ftplugin/html[.]{vim,lua}
|
|
runtime! ftplugin/django[.]{vim,lua}
|