Since 352ee0761 it is possible to change the file displayed in a window
by changing the value of window.file to the a file path.
---
vis-lua.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/vis-lua.c b/vis-lua.c
index 676bcb4e..f3eebc4b 100644
--- a/vis-lua.c+++ b/vis-lua.c
@@ -1807,6 +1807,8 @@ static const struct luaL_Reg registers_funcs[] = {
*/
/***
* The file being displayed in this window.
+ * Changing the value to a file path will replace the current file with a new+ * one for the specified path. * @tfield File file
*/
/***
--
2.47.0
Florian Fischer <florian.fischer@muhq.space> wrote:
> Since 352ee0761 it is possible to change the file displayed in a > window by changing the value of window.file to the a file path.
It is. Applied!
Cheers,
Felix