mirror of
https://github.com/neovim/neovim.git
synced 2026-07-23 01:12:49 +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.
8 lines
252 B
VimL
8 lines
252 B
VimL
" Vim filetype plugin file
|
|
" Language: JavaScript React
|
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
|
" Last Change: 2020 Aug 19
|
|
|
|
" Placeholder for backwards compatilibity: .jsx used to stand for JavaScript.
|
|
runtime! ftplugin/javascript[.]{vim,lua}
|