31 May 2023 |
kaddkaka | oh | 20:29:36 |
kaddkaka | ok Thanks! Got a cool funciton working, this is amazing, I sort of need to screencast 😎 | 20:31:24 |
kaddkaka | The amazing power of matchdo/searchdo: https://asciinema.org/a/EVeArdXOtQqW3CpxfflHCU4z2 | 20:42:15 |
kaddkaka | In reply to @kaddkaka:matrix.org The amazing power of matchdo/searchdo: https://asciinema.org/a/EVeArdXOtQqW3CpxfflHCU4z2 I got the code for the Matchdo function from AndrewRadev on my searchdo request at https://www.reddit.com/r/vim/comments/125dxi8/searchdo_a_friend_of_cdobufdowindo/ | 20:43:59 |
kaddkaka | (:Matchdo is a sibling of :cdo etc., performing a command at each search match) | 20:47:26 |
gpanders | In reply to @seandewar:matrix.org it has been ported already based | 20:55:37 |
gpanders | Vimscript just gets better and better | 20:55:42 |
gpanders | like a fine wine | 20:55:51 |
Diablo-D3 | lel | 21:05:06 |
Diablo-D3 | so, for today's vim config masturbation, my popupify now detects VimResized and WinResized to automatically reshape the popup | 21:05:33 |
| dimetrodon joined the room. | 21:51:24 |
| dimetrodon changed their display name from dimetro to dimetrodon. | 21:57:18 |
| Fl1tzi removed their profile picture. | 22:00:55 |
1 Jun 2023 |
| VnPower set a profile picture. | 02:24:40 |
| Pirate Bady joined the room. | 06:02:23 |
p00f | plugin/foo.lua is supported from 0.5 onwards right? | 08:08:06 |
ghostbuster91 | hi folks, quick question about plenary.async - If I have a function a that calls some async functions inside it automatically becomes async itself right? How can I then pass it into async.util.join ? In order to do that I need to have it in some kind of lazy form so that the join can invoke it and await then.
scan_dir_async_new is my function that calls some await functions inside. Should I call wrap on it and pass the callback inside? Like so:
local scan_tasks = {}
for _, p in ipairs(context.paths_to_load) do
local scan_task = async.wrap(function(_callback)
scan_dir_async_new(context, p, _callback)
end, 1)
table.insert(scan_tasks, scan_task)
end
async.util.join(scan_tasks)
?
| 08:44:28 |
seandewar | In reply to @chda:matrix.org
plugin/foo.lua is supported from 0.5 onwards right? ye | 08:46:16 |
p00f | In reply to@seandewar:matrix.org ye thank | 08:55:32 |
seandewar | welc | 08:55:41 |
p00f | i shall make my plugin 0.5+ only after 0.10 is released | 08:56:07 |
p00f | if you're still using 0.4 you can fuck off | 08:56:22 |
| derpyasianpanda joined the room. | 09:39:06 |
Davide P | does anyone here use ddc.nvim? the completion plugin | 10:03:02 |
| Harzo joined the room. | 10:11:40 |
Diablo-D3 | probably not. | 12:48:47 |
vigoux | Link ? | 13:12:47 |
vigoux | (https://github.com/Shougo/ddc.vim) | 13:13:30 |
p00f | In reply to @seandewar:matrix.org ye lol i already use vim.json | 16:16:59 |
p00f | time to yeet the vimscr🤮pt | 16:17:18 |