junegunn / junegunn/fzf.vim

Undefined variable b:term_title when used in statusline for terminal buffers

Open
#709 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vim Script
Stars
10.3k
Forks
608
Avg merge
5d 8h
Merged PRs (30d)
2

Description

- Category
- [ ] Question
- [x] Bug
- [ ] Suggestion
- OS
- [ ] Linux
- [x] macOS
- [ ] Windows
- [ ] Etc.
- Vim
- [ ] Vim
- [x] Neovim

I have this in my .vimrc:

autocmd TermOpen * setlocal statusline=%{b:term_title}

When I open files with fzf.vim I get an error about the `b:term_title` variable being undefined and the expression `%{b:term_title}` being invalid.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.