diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-12 01:20:13 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-12 01:20:13 +1200 |
commit | e3cfbf8e680aae93fcb778a77c20247570453c8c (patch) | |
tree | 63631f2ea936b6e92db315e99031fde422f5d727 /vim/after/ftplugin/help.vim | |
parent | Merge branch 'release/v1.25.0' (diff) | |
parent | Bump VERSION (diff) | |
download | dotfiles-e3cfbf8e680aae93fcb778a77c20247570453c8c.tar.gz dotfiles-e3cfbf8e680aae93fcb778a77c20247570453c8c.zip |
Merge branch 'release/v1.26.0'v1.26.0
* release/v1.26.0:
Bump VERSION
Upgrade insert_cancel.vim again
Check for +conceal before setting 'conceallevel'
Upgrade insert_cancel.vim
Remove session_lazy.vim
Add missing dot to mutt filetype.vim path
Add session_lazy.vim plugin
Add 'sessionoptions' settings
Correct login around ftplugin/make.vim mappings
Move after/ftplugin/sed.vim to ftplugin/sed.vim
Clean up existing ftplugins a bit
Overhaul after/ftplugin
Add explicit group to ftdetect rule
Move angle-bracket matchpairs to Perl filetype
Diffstat (limited to 'vim/after/ftplugin/help.vim')
-rw-r--r-- | vim/after/ftplugin/help.vim | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/vim/after/ftplugin/help.vim b/vim/after/ftplugin/help.vim index 3d9ad072..e21a5259 100644 --- a/vim/after/ftplugin/help.vim +++ b/vim/after/ftplugin/help.vim @@ -1,12 +1,11 @@ " Extra configuration for Vim help files -if &filetype != 'help' || &compatible || v:version < 700 +if &filetype !=# 'help' || v:version < 700 finish endif " If the buffer is modifiable and writable, we're writing documentation, not " reading it; don't conceal characters -if &modifiable && !&readonly +if has('conceal') && &modifiable && !&readonly setlocal conceallevel=0 - let b:undo_ftplugin = b:undo_ftplugin - \ . '|setlocal conceallevel' + let b:undo_ftplugin .= '|setlocal conceallevel<' endif |