Hennadii Chernyshchyk

Results 692 comments of Hennadii Chernyshchyk

It's a great idea. I currently busy at the moment, but implementations are welcome.

What do you mean under "it fails"? It should be loaded once you open any of the specified files. You can't unload it later.

I don't understand the problem. Please, explain it more.

It's not possible. Commands can't be relative to the filetype. You can lazy load the plugin by filetype, but once it loaded by the specified filetype, `:CMake` command will be...

Okay! Should be easy to add, I would happy to accept a PR for it.

We could add a `save_session` command that accepts a session name. I am currently busy at the moment, but PR is welcome, I will be happy to review it.

Makes sense. But I would provide it as a lua function, easier to use.

I think that the issue is on VGit side. When I loading session, I remove all old buffers and VGit should be able to restore its state after buffers cleanup....

Not sure if it possible to fix since sessions are sourced after Neovim startup (`VimEnter` autocmd).

No, this won't work, the problem is that Neovim is loaded first, and then the session. If you have any ideas, please send a PR.