mirror of
https://github.com/neovim/neovim.git
synced 2026-11-05 21:57:14 -06:00
fix(ftplugin): source inherited Lua ftplugins
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.
This commit is contained in:
1 parent
fd02e91319
commit
0bb2f5cc08
60 files changed
+79
-67
No files matched your search
@@ -4,4 +4,4 @@
|
||||
" Last Change: 2020 Aug 19
|
||||
|
||||
" Placeholder for backwards compatilibity: .jsx used to stand for JavaScript.
|
||||
runtime! ftplugin/javascript.vim
|
||||
runtime! ftplugin/javascript[.]{vim,lua}
|
||||
Reference in new issue
Block a user