mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-10 04:23:51 -05:00
Make sure custom ftdetect is loaded, fixes #587
This commit is contained in:
@@ -117,6 +117,11 @@ func! s:StarSetf(ft)
|
|||||||
endif
|
endif
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
|
" Load user-defined filetype.vim
|
||||||
|
augroup filetypedetect
|
||||||
|
runtime! filetype.vim
|
||||||
|
augroup END
|
||||||
|
|
||||||
augroup filetypedetect
|
augroup filetypedetect
|
||||||
|
|
||||||
" DO NOT EDIT CODE BELOW, IT IS GENERATED WITH MAKEFILE
|
" DO NOT EDIT CODE BELOW, IT IS GENERATED WITH MAKEFILE
|
||||||
@@ -4834,6 +4839,10 @@ au BufNewFile,BufRead *.txt
|
|||||||
\| setf text
|
\| setf text
|
||||||
\| endif
|
\| endif
|
||||||
|
|
||||||
|
" Use the filetype detect plugins. They may overrule any of the previously
|
||||||
|
" detected filetypes.
|
||||||
|
runtime! ftdetect/*.vim
|
||||||
|
|
||||||
" NOTE: The above command could have ended the filetypedetect autocmd group
|
" 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
|
" and started another one. Let's make sure it has ended to get to a consistent
|
||||||
" state.
|
" state.
|
||||||
|
|||||||
Reference in New Issue
Block a user