| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | use the actual function name of the position conversion functionHEADmain | Florian Fischer | 2026-05-30 | 1 | -1/+1 |
| | | |||||
| * | simplify setting the cursor position by using vis' file:pos_by_linecol | Florian Fischer | 2026-05-16 | 1 | -6/+4 |
| | | |||||
| * | parse even file names with column or additional colon characters | Matěj Cepl | 2026-05-16 | 1 | -2/+8 |
| | | |||||
| * | simplify code by use vis' capability to change files during WIN_OPEN | Florian Fischer | 2026-05-15 | 3 | -23/+9 |
| | | |||||
| * | allow proper transparent WIN_OPEN event handling | Florian Fischer | 2024-09-26 | 1 | -3/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Simply changing the file in a single WIN_OPEN event has one of two possible problems. 1. Problem: We keep the current window Then all previously ran WIN_OPEN event handlers have observed a wrong file path, leading to broken syntax highlighting for example. 2. Problem: Use a new window This solves the 1. Problem by emitting a new WIN_OPEN event with the correct file path. However, this leads to plugins like vis-cursors to jump to a possibly different line rendering vis-open-extend useless. The solution to both problems is to split our event handling in two parts: On the original event detect the file and the specified line. Change to the file in a new window, remember the line and stop the event handling for the first event. On the second WIN_OPEN event for the correct file path simply jump to the remembered line. This allows both plugins vis-open-extend and vis-cursors to work, if vis-open-extend is loaded after vis-cursors, so our event handler runs after the one from vis-cursors. | ||||
| * | fix: skip if the file with the colon in the name actually exists | Matěj Cepl | 2024-09-25 | 1 | -1/+6 |
| | | | | | | This is an attempt to avoid need to add special arguments to vis like -a or so. | ||||
| * | fix: there is undocumented interface for creating new win.file | Matěj Cepl | 2024-09-21 | 1 | -2/+2 |
| | | | | | Perhaps, https://lists.sr.ht/~martanne/devel/%3CD42Y9RUWT1JD.39LJTUER8TDSK@cepl.eu%3E#%3CD4A3NDR7Q6Z3.AM59886VR01B@muhq.space%3E | ||||
| * | fix: add missing return | Matěj Cepl | 2024-09-18 | 1 | -0/+1 |
| | | |||||
| * | fix: add missing file_exists function | Matěj Cepl | 2024-09-18 | 1 | -0/+11 |
| | | | | | And try to set corrected win.file.path | ||||
| * | feat: initial commit | Matěj Cepl | 2024-09-18 | 3 | -0/+46 |
