aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorshadmansaleh <shadmansaleh3@gmail.com>2021-06-02 17:04:42 +0600
committershadmansaleh <shadmansaleh3@gmail.com>2021-06-11 01:01:02 +0600
commitf256a18fefeebe76edcca42f530b238e95bc25b6 (patch)
tree77010b37031d3f5ec6ad14a13b500e12082dfb98 /runtime
parent4dffe1ff2f284fbd4d2bdb6a0f3997e21f9c0c6c (diff)
downloadrneovim-f256a18fefeebe76edcca42f530b238e95bc25b6.tar.gz
rneovim-f256a18fefeebe76edcca42f530b238e95bc25b6.tar.bz2
rneovim-f256a18fefeebe76edcca42f530b238e95bc25b6.zip
feat(runtime): Allow lua to be used in ftdetect
Diffstat (limited to 'runtime')
-rw-r--r--runtime/filetype.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index ed70ac5ce8..89cc1a8fc5 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -2303,6 +2303,7 @@ au BufNewFile,BufRead *.txt
" Use the filetype detect plugins. They may overrule any of the previously
" detected filetypes.
runtime! ftdetect/*.vim
+runtime! ftdetect/*.lua
" NOTE: The above command could have ended the filetypedetect autocmd group
" and started another one. Let's make sure it has ended to get to a consistent