aboutsummaryrefslogtreecommitdiff
path: root/scripts/genvimvim.lua
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2016-07-09 12:17:23 -0700
committerJosh Triplett <josh@joshtriplett.org>2016-07-12 14:42:17 -0700
commitd529ca01034f7c4991be77e52ad9883a3c8dbd68 (patch)
tree4f41dc6c11c307f8a319bab56e95942b6f91fd8a /scripts/genvimvim.lua
parentef72303a1ff862fde6d9399941c091c0a0692cce (diff)
downloadrneovim-d529ca01034f7c4991be77e52ad9883a3c8dbd68.tar.gz
rneovim-d529ca01034f7c4991be77e52ad9883a3c8dbd68.tar.bz2
rneovim-d529ca01034f7c4991be77e52ad9883a3c8dbd68.zip
terminal: Ensure b:term_title always has a value
Factor out a helper function to set b:term_title, and call it during terminal initialization as well, to set the initial title to the term:// URL. This makes it much easier to use b:term_title in a statusline, with just `setlocal statusline=%{b:term_title}`, rather than needing an expression to handle the unset case.
Diffstat (limited to 'scripts/genvimvim.lua')
0 files changed, 0 insertions, 0 deletions