nvim-neorg / neorg

Modernity meets insane extensibility. The future of organizing your life in Neovim.
GNU General Public License v3.0
6.08k stars 202 forks source link

fix: swapfile bug #1451

Closed benlubas closed 1 month ago

benlubas commented 1 month ago

Fixes a bug brought up by a discord user where calling :Neorg index when the index file had a swap file available would trigger a loud and confusing error.

Now pcalling the source of the error, and issuing a nicer warning instead.