Closed itchyny closed 10 years ago
To reproduce:
:Goyo :Goyo :tabnew
Problem: The new buffer is nomodifiable.
To fix: Use setlocal in the two set statement in the function setup_pad.
setlocal
set
setup_pad
I don't read the whle code well so I don't get why this function is called on tabnew.
tabnew
Whoa, you're right, setlocal fixes the problem. Thanks (The function is not called though as autocommand groups are properly cleared when Goyo tab is closed.)
To reproduce:
Problem: The new buffer is nomodifiable.
To fix: Use
setlocal
in the twoset
statement in the functionsetup_pad
.I don't read the whle code well so I don't get why this function is called on
tabnew
.