aboutsummaryrefslogtreecommitdiff
path: root/vim/after/ftplugin/html/url_link.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/after/ftplugin/html/url_link.vim')
-rw-r--r--vim/after/ftplugin/html/url_link.vim6
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..2e600b5e 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