Calvin Bochulak

Results 38 comments of Calvin Bochulak

> On a side note: I had some problems using the second `lualine` example: > > ```lua > require("lualine").setup({ > sections = { > lualine_b = { > { require("grapple").name_or_index,...

Hey @abeldekat! Thanks for taking the time to improve statusline integration for Grapple. So, I decided to go ahead and do some _very_ basic benchmarking here. Calling `Grapple.statusline` on a...

> I currently work on a slow laptop(intel i3, 4G RAM). I regularly see "hesitations" when working with`lualine` and `grapple`. Perhaps because of that "polling". When the event occurs just...

> ```lua > vim.api.nvim_create_autocmd({ "BufEnter" }, { > group = STATUSLINE_GROUP, > pattern = "*", > callback = function() > self:update() > end, > }) > ``` Why is the...

Okay, so the issue is [here](https://github.com/cbochs/grapple.nvim/pull/155/files#diff-d8a864d1a9d99c98cd3c82e7f52c828ff1ac94f30c20bc71ff488494832ae53aR135). - `Grapple.select` triggers a `GrappleUpdate` event - `GrappleUpdate` invokes the Statusline autocommands - Statusline autocommand calls `self:update()` - `self:update()` calls `Grapple.find` - `Grapple.find` triggers...

The purpose was intended that any interaction with Grapple (tag, untag, select) would cause an update (see: [lua/grapple/tag_manager.lua#L43-L73](https://github.com/cbochs/grapple.nvim/blob/main/lua/grapple/tag_manager.lua#L43-L73)). It was probably an oversight to have it trigger for API calls...

Hi @abeldekat, apologies for the delay here. Was unable to continue reviewing the other week. I had a chance to investigate the event issue. I don't think that the decoration...

I like this suggestion. One clarification, there are two UIs for scopes: one for the _scopes_ and one for the _loaded scopes_. Were you referring to one in particular? **Scopes**...

> So, for example, if I open the first picture, I'm able to enable 2 scopes for a buffer by pressing `` on 2 different scopes (let's say `cwd` and...

> With that in mind, I believe it would be good if you documented the example you provided in your previous post about the resolution of IDs. Will make sure...