diff options
Diffstat (limited to 'vim/after/ftplugin/html/lint.vim')
-rw-r--r-- | vim/after/ftplugin/html/lint.vim | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/vim/after/ftplugin/html/lint.vim b/vim/after/ftplugin/html/lint.vim index c0fdc44f..21f2a72c 100644 --- a/vim/after/ftplugin/html/lint.vim +++ b/vim/after/ftplugin/html/lint.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_lint') || &compatible finish endif +if &filetype == 'markdown' + finish +endif let b:did_ftplugin_html_lint = 1 " Initialise undo variable if not already done |