google / vim-maktaba

Consistent Vimscript
Apache License 2.0
591 stars 42 forks source link

Avoid setting global nomodifiable in selector help #248

Closed pavoljuhas closed 3 years ago

pavoljuhas commented 3 years ago

problem

Using the help menu H in selector window sets global nomodifiable and readonly options. Files opened from the selector menu are then locked for editing.

solution

Restore nomodifiable and readonly options locally so they only apply to the selector window.

dbarnett commented 3 years ago

Looks good to me! @pavoljuhas, you're ready to proceed with merging this version of changes, right?

pavoljuhas commented 3 years ago

Yes, looks good from my side.