ii14

Results 57 comments of ii14

Not sure if I understand the use case for this. What makes it different from: ```lua local win_set = {} api.nvim_create_autocmd('...', { callback = function() if not win_set[api.nvim_get_current_win()] then return...

But once this gets merged these parameters won't be ignored anymore, and that is the problem. `vim.ui.*` functions can be replaced, and if you have your own implementation then you...

@PreetamSing This PR uses `vim.fn.inputsecret`, that's not the point. `vim.fn` cannot be customized, you can't (shouldn't) replace those functions with your own implementation. `vim.ui` exists so you can customize the...

I've only skimmed through the comments, so not sure if I'm not repeating something that was already said, but for me one problem with autocommands/events is that they can be...

There is also a very rare use case of detecting event chains. For example you occasionally have code like this: ```c if (flags & WEE_TRIGGER_NEW_AUTOCMDS) { apply_autocmds(EVENT_WINNEW, NULL, NULL, false,...

> If you merely want to trace events without executing code , maybe that's a feasible idea. Or maybe some way to "lock" `:set noeventignore`. Changing `eventignore` isn't transparent and...

I think that clipboard issue is irrelevant. tmux probably does something like `pwdx` (checks `/proc/X/cwd`), but TUI is now a separate process and I doubt changing the directory is forwarded...

Yes, when you change directory with `:cd`, the directory changes only on the server process. TUI process stays on the directory it was opened in, and I assume that is...

> "handwritten" means what exactly? Does that risk something more complicated than the current Doxygen-based solution? Just processing extracted comments in Lua. Doxygen and emmylua commands can be parsed with...

I think this should work? ```diff diff --git a/runtime/lua/vim/fs.lua b/runtime/lua/vim/fs.lua index a0d2c4c33..05daa61de 100644 --- a/runtime/lua/vim/fs.lua +++ b/runtime/lua/vim/fs.lua @@ -100,10 +100,13 @@ function M.dir(path, opts) }) if not opts.depth or opts.depth...