We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbee246 commit c45f0b8Copy full SHA for c45f0b8
ftdetect/polyglot.vim
@@ -117,6 +117,11 @@ func! s:StarSetf(ft)
117
endif
118
endfunc
119
120
+" Load user-defined filetype.vim
121
+augroup filetypedetect
122
+runtime! filetype.vim
123
+augroup END
124
+
125
augroup filetypedetect
126
127
" DO NOT EDIT CODE BELOW, IT IS GENERATED WITH MAKEFILE
@@ -4834,6 +4839,10 @@ au BufNewFile,BufRead *.txt
4834
4839
\| setf text
4835
4840
\| endif
4836
4841
4842
+" Use the filetype detect plugins. They may overrule any of the previously
4843
+" detected filetypes.
4844
+runtime! ftdetect/*.vim
4845
4837
4846
" NOTE: The above command could have ended the filetypedetect autocmd group
4838
4847
" and started another one. Let's make sure it has ended to get to a consistent
4848
" state.
0 commit comments