takuto

Results 186 comments of takuto

I definitely love the idea, but long story short, it is very difficult. The content of the selector can be calculated with `require("neo-tree.ui.selector").get()`. This is used like this as you...

Hmm lovely... ![image](https://github.com/nvim-neo-tree/neo-tree.nvim/assets/41065736/6821026b-02e8-4c31-bd51-62226da423e1) ```diff diff --git a/lua/bufferline/offset.lua b/lua/bufferline/offset.lua index 0315107..42aa3fb 100644 --- a/lua/bufferline/offset.lua +++ b/lua/bufferline/offset.lua @@ -28,7 +28,7 @@ local supported_win_types = { ---@param is_left boolean? ---@return string local function...

Yikes... You are right, and there's no good way to fix it actually. `.get()` assumes that the `nvim_api_current_win()` is a neo-tree window. So you need some specific implementation to cache...

OK final working solution, which is very hacky. I do not maintain this code and I don't know when it'll break. cc @pwnalone ```lua -- neo-tree -- require("neo-tree").setup({ event_handlers =...

The change needed for bufferline is the raw parameter which is not limited to trees but should open more possibilities to any plugin. I don't think nvim tree has any...

@pwnalone As there's nothing to be done in neo-tree, can we close this issue? @cseickel Do you think this snippet is worth being added to the wiki? https://github.com/nvim-neo-tree/neo-tree.nvim/issues/1368#issuecomment-1970678429

Could you do it for me as I don't know how to interact with the wiki...

@pwnalone Did you make a PR/FR upstream? Anyways please close this issue if my solution is working / you are satisfied.

Thanks for your reply @pwnalone . Please ping me when you make the regarding PR/FR.

@sarmong wait for https://github.com/nvim-neo-tree/neo-tree.nvim/discussions/1340... @dyrkow it really depends on your config options and maybe also to what other plugins you have installed. Please share your config using the `repro.lua` template....