wfxr / minimap.vim

📡 Blazing fast minimap / scrollbar for vim, powered by code-minimap written in Rust.
MIT License
1.19k stars 23 forks source link

Fix background processing locking up with empty filename #174

Closed ZNielsen closed 1 year ago

ZNielsen commented 1 year ago

An empty filename would cause the hold on g:minimap_getting_window_info to never be dropped, locking out the window info function.

This change checks for an empty filename early, exiting + dropping the mutex if the filename is empty.