feat(runtime): Allow lua to be used in ftdetect

This commit is contained in:
shadmansaleh
2021-06-02 17:04:42 +06:00
parent 4dffe1ff2f
commit f256a18fef
3 changed files with 24 additions and 4 deletions

View File

@@ -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