]> Sergey Matveev's repositories - nnn.git/commit
Fixes the following workflow:
authorArun Prakash Jana <engineerarun@gmail.com>
Sun, 17 Nov 2019 04:35:23 +0000 (10:05 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Sun, 17 Nov 2019 04:35:23 +0000 (10:05 +0530)
commit6693bf8f13089c2555268d751ccfe86526afa527
tree73424939c545fbf983fabdd3f95565bfe71b865f
parent05c84f7b80872062eaf15bdfbb45e43161bd7eeb
Fixes the following workflow:
- press pick plugin key
- navigate away from the plugin directory (to ~, say)
- try to open any file, fails

When we are in run plugin mode, but detect we are in a different
context or a non-plugin directory, just cancel the runplgin mode
and continue as usual.

It also cleans up the plugin run function.
src/nnn.c