rkitover/vimpager — pull request #26 by clvv (2012-01-27 04:38:34+00:00)
Title: Custom Filetype Detection Support Via `vimpager_ptree`

A new variable `vimpager_ptree` is introduced. `vimpager_ptree` is a list, containing process names of parent processes of vimpager.

Sample use case:

```VimL
if exists("vimpager") && vimpager == 1
if exists("vimpager_ptree") && vimpager_ptree[-2] == 'wman'
set ft=man
endif
endif
```