When I open a file with
.md extension, the filetype is set to
markdown, as expected. But the
ftplugin for HTML is also loaded as I can see since I have some insert mode mappings in there to auto-insert html entities in place of umlauts. I opened
ftplugin/markdown.vim and found this
" runtime! ftplugin/html.vim ftplugin/html_*.vim ftplugin/html/*.vim setlocal comments=fb:*,fb:-,fb:+,n:> commentstring=>\ %s setlocal formatoptions+=tcqln formatoptions-=r formatoptions-=o setlocal formatlistpat=^\\s*\\d\\+\\.\\s\\+\\\|^[-*+]\\s\\+ if exists('b:undo_ftplugin') let b:undo_ftplugin .= "|setl cms< com< fo< flp<" else let b:undo_ftplugin = "setl cms< com< fo< flp<" endif
As you can see, I already commented out the first line. But vim still loads the html plugin. How can I influence this behaviour?