diff options
| author | Matěj Cepl <mcepl@cepl.eu> | 2024-09-21 12:10:44 +0200 |
|---|---|---|
| committer | Matěj Cepl <mcepl@cepl.eu> | 2024-09-21 12:10:44 +0200 |
| commit | bbf5f8cda0bb09babac06888ab9bac5fa2117048 (patch) | |
| tree | d771f9193f9ba125c98c4f295e6e71c164771b8e | |
| parent | e0ad94a402c1d94113e09cf98c4884608ebcba1b (diff) | |
| download | vis-open-extend-bbf5f8cda0bb09babac06888ab9bac5fa2117048.tar.gz vis-open-extend-bbf5f8cda0bb09babac06888ab9bac5fa2117048.zip | |
fix: there is undocumented interface for creating new win.file
Perhaps, https://lists.sr.ht/~martanne/devel/%3CD42Y9RUWT1JD.39LJTUER8TDSK@cepl.eu%3E#%3CD4A3NDR7Q6Z3.AM59886VR01B@muhq.space%3E
| -rw-r--r-- | init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -15,9 +15,9 @@ vis.events.subscribe(vis.events.WIN_OPEN, function(win) return end win:close() - win.file.path = path + win.file = path vis:command("e "..path) vis:command("+"..line-1) - vis:info("win.file.path = " .. path) +-- or vis:feedkeys(tostring(line).."G") return end) |
