justinmk / vim-dirvish

Directory viewer for Vim :zap:
Other
1.19k stars 64 forks source link

Set `nospell` while inside a dirvish buffer #115

Closed chaucerbao closed 6 years ago

chaucerbao commented 6 years ago

Just wondering what you think about setting nospell when entering a dirvish buffer, and restoring the previous setting upon leaving.

image

justinmk commented 6 years ago

Attempted and later removed in f8bb56fe7f85. For a plugin, trying to micro-manage window options in Vim is generally a disaster.

It's trivial to do this if you really care.

au FileType dirvish setlocal nospell
chaucerbao commented 6 years ago

Makes sense. And thank you for an alternate solution.