The previous `gsub` call would blow away everything after and including the first '/' in the pathname, including other slashes. Fortunately, the neovim api provides a way to get the parent directory of a given path, which I've used instead. |
||
|---|---|---|
| .. | ||
| genghis.lua | ||