diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-04 22:09:48 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-04 22:09:48 +1200 |
commit | 8a42dd3142fcbea5c022ff7b027a276b3caacd4c (patch) | |
tree | 33babf2620a44a10e801a1bff49ae110ae5af899 /vim/after/ftplugin/html/lint.vim | |
parent | Merge branch 'release/v0.44.0' (diff) | |
parent | Bump VERSION (diff) | |
download | dotfiles-8a42dd3142fcbea5c022ff7b027a276b3caacd4c.tar.gz dotfiles-8a42dd3142fcbea5c022ff7b027a276b3caacd4c.zip |
Merge branch 'release/v0.45.0'v0.45.0
* release/v0.45.0:
Bump VERSION
Support counts and registers in paste wrapping
Rearrange/correct markdown_autoformat.vim
Use case-insensitive Vim ==#
Clear markdown_autoformat.vim autocmds correctly
Move markdown_autoformat.vim funcs back to local
Don't load my HTML ftplugins for Markdown types
Set and clear Markdown autocmd in group
Use heuristics on Markdown to guess autoformat
Refactor suspend_autoformat.vim, add autoload
Add mail ftdetect rules
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..b24b18c9 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 |