carlhuda/janus — comment on commit 77b72098d63a1cb3448cffe54320216111158738
File: janus/vim/core/before/plugin/statuline.vim line 24
By eMxyzptlk:

In that case, just protect it inside an if block checking the
existence of a global variable, like:

```viml
If !exists("g:config_dont_extend_statusline")
....
endif
```

If the user sets g:config_dont_extend_statusline in vimrc.before, it
will be skipped :)

--
Wael Nasreddine
Sent from my iPhone

On Feb 23, 2012, at 2:54, Adrian Rego

wrote:

> You're correct. Not expensive. Just wanted to leave the statusline configuration in the user's hands. I have no issues adding that back in.
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/carlhuda/janus/commit/77b72098d63a1cb3448cffe54320216111158738#commitcomment-998987