Yehor Borkov

Results 14 comments of Yehor Borkov

Consider creating `augroup` with `{ clear = true }` before creating the `autocmd`. This will ensure that plugin reload autocmmand will be cleared before creation with each source. Duplicating autocommands...

> @yehorb - any further comments on this? Hi. Looks good to me. Thank you for updating the PR.

I somehow experience a more extreme version of the issue. When the `ssh.exe` process terminates with an error, my keycodes become mangled. `enter` does not work, pressing `enter` produces `m`...

I encountered the issue too. It looks like `make_directory_change_for_command` is not the root problem. `make_directory_change_for_command` is only used in `*Sync` commands - `:TSUpdateSync,:TSInstallSync` etc. Changing `make_directory_change_for_command` to check for PowerShell...

Looks like the issue is somehow with the `.ps1` shim generated by `npm`. If I force the `.cmd` shim in the code (`cmd = vim.fn.exepath("tree-sitter") .. ".cmd"`) it works in...

The [`CreateProcessW`](https://learn.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-createprocessw) that is used by `libuv` to spawn the new process was never intended to call batch files, docs say so right at the beginning. Why the `.cmd` shims...

Most of the proposed solutions around the internet are either `json.loads(json.dumps(value), parse_float=Decimal)` or writing own recursive type caster. `json` comes with an enormous performance overhead. Writing your recursive type caster...

@tallesl I believe it's pretty stable. I use this patching technique in a few projects, and it seems to work fine. Never got the issue from the patching itself. `patch`...

Can confirm the same issue with the newest 0.7.0 release. Neovim installed from zip. Link created with PowerShell: `New-Item -Type SymbolicLink -Target ..\nvim-win64\bin\nvim.exe -Path nvim.exe`. Executing the link produces no...

> Thank you for proposing this contribute but currently I'll postpone it because we aren't ready to make API changes, there is an another idea to make Tree-sitter core lib...