diff options
Diffstat (limited to 'vim/after/ftplugin/help.vim')
-rw-r--r-- | vim/after/ftplugin/help.vim | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vim/after/ftplugin/help.vim b/vim/after/ftplugin/help.vim new file mode 100644 index 00000000..3d9ad072 --- /dev/null +++ b/vim/after/ftplugin/help.vim @@ -0,0 +1,12 @@ +" Extra configuration for Vim help files +if &filetype != 'help' || &compatible || 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 + setlocal conceallevel=0 + let b:undo_ftplugin = b:undo_ftplugin + \ . '|setlocal conceallevel' +endif |