diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-05-28 10:04:35 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-05-28 10:04:35 +1200 |
commit | c90846d8c7918c8650f1f45cd74cf7ec9cf5160b (patch) | |
tree | 5462badf3c2ac63c04ffb7f0df09390981bc876f /VERSION | |
parent | Merge branch 'release/v0.33.0' into develop (diff) | |
download | dotfiles-c90846d8c7918c8650f1f45cd74cf7ec9cf5160b.tar.gz dotfiles-c90846d8c7918c8650f1f45cd74cf7ec9cf5160b.zip |
Use script variable to keep showbreak setting
The 'showbreak' option is global and has no local value--that is, it's
not global-local--so `setlocal` actually just changes the global value,
and hence we can't "change back" using `setlocal showbreak<`. Instead,
keep the "normal" value in a script variable so that we can reliably
switch back to it.
This surprised me, as I had thought it was working, but I can't find
even an older Vim that behaves the way I expected it too. I suppose I
must just not have changed back often enough to actually notice.
Diffstat (limited to 'VERSION')
0 files changed, 0 insertions, 0 deletions