aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorshadmansaleh <shadmansaleh3@gmail.com>2021-06-02 16:33:40 +0600
committershadmansaleh <shadmansaleh3@gmail.com>2021-06-11 01:01:02 +0600
commit4dffe1ff2f284fbd4d2bdb6a0f3997e21f9c0c6c (patch)
treeda4c4b48ce7aa9b10b980dfc4d542c0a4c21399b /runtime
parentfd5e5d2715d264447d94d7253f3c78bd7003a472 (diff)
downloadrneovim-4dffe1ff2f284fbd4d2bdb6a0f3997e21f9c0c6c.tar.gz
rneovim-4dffe1ff2f284fbd4d2bdb6a0f3997e21f9c0c6c.tar.bz2
rneovim-4dffe1ff2f284fbd4d2bdb6a0f3997e21f9c0c6c.zip
feat(runtime): Allow lua to be used in indent
Diffstat (limited to 'runtime')
-rw-r--r--runtime/indent.vim3
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