Skip to content

Conversation

@ramialkawadri
Copy link

@ramialkawadri ramialkawadri commented Nov 21, 2025

Fixes #107
The current solution does not work on arrays and objects (tested with Vitest); however, even when it works, it does not satisfy what the issue says. This is how it looks now, an improvement to this would be to add a highlight group, but I was unsure which to use. It also adds the errors to watch view.

image

@ramialkawadri ramialkawadri force-pushed the feat/add-toggle-arrows-to-scope-view branch from 06d9de1 to dbfbd60 Compare November 22, 2025 09:07
M.get_variable_prefix = function(variable, expanded)
if variable.variablesReference > 0 then
if expanded then
return ""
Copy link
Contributor

@anthraxx anthraxx Dec 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These symbols should probably be registered neovim signs to allow overriding them conveniently.

EDIT: On second look this is phrased ambiguously, I mean a plugin opts to register/set the icon similar to other icons would be lovely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feature: Show expand and collapse arrows on lists and objects in Scopes section

2 participants