diff options
Diffstat (limited to 'vim/after/ftplugin/html/url_link.vim')
-rw-r--r-- | vim/after/ftplugin/html/url_link.vim | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/vim/after/ftplugin/html/url_link.vim b/vim/after/ftplugin/html/url_link.vim index 85e9d719..4102e768 100644 --- a/vim/after/ftplugin/html/url_link.vim +++ b/vim/after/ftplugin/html/url_link.vim @@ -1,8 +1,12 @@ " Only do this when not done yet for this buffer -" Also do nothing if 'compatible' enabled +" Also do nothing if 'compatible' enabled, or if the current filetype is +" actually markdown if exists('b:did_ftplugin_html_url_link') || &compatible finish endif +if &filetype == 'markdown' + finish +endif let b:did_ftplugin_html_url_link = 1 if exists('b:undo_ftplugin') let b:undo_ftplugin = b:undo_ftplugin |