aboutsummaryrefslogtreecommitdiff
path: root/vim/after/ftplugin/help.vim
blob: 3d9ad072a77c54c95ab2dbae506917fab0326dd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
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