diff options
| author | Björn Linse <bjorn.linse@gmail.com> | 2021-06-11 17:42:21 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-11 17:42:21 +0200 |
| commit | 81a6b70880efa21dc45c6b222ca3c2d794c85b36 (patch) | |
| tree | dbccb3560996a9ef3aac1ad176ada23dfe986cc2 /runtime/indent.vim | |
| parent | fa768152dc5523ce7656a55253a626eea5180396 (diff) | |
| parent | e1edc079dd0d0cb4a53e5998086568cf9d10a26a (diff) | |
| download | rneovim-81a6b70880efa21dc45c6b222ca3c2d794c85b36.tar.gz rneovim-81a6b70880efa21dc45c6b222ca3c2d794c85b36.tar.bz2 rneovim-81a6b70880efa21dc45c6b222ca3c2d794c85b36.zip | |
Merge pull request #14686 from shadmansaleh/feat/evaluate_plugin/lua
runtime: allow to use .lua files for most features defined as &rtp/{feature}/*.vim
Diffstat (limited to 'runtime/indent.vim')
| -rw-r--r-- | runtime/indent.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/indent.vim b/runtime/indent.vim index 12f03648ca..2b64dd44b9 100644 --- a/runtime/indent.vim +++ b/runtime/indent.vim @@ -24,7 +24,8 @@ augroup filetypeindent " When there is a dot it is used to separate filetype names. Thus for " "aaa.bbb" load "indent/aaa.vim" and then "indent/bbb.vim". for name in split(s, '\.') - exe 'runtime! indent/' . name . '.vim' + exe 'runtime! indent/' . name . '.vim' + exe 'runtime! indent/' . name . '.lua' endfor endif endfunc |