-
Notifications
You must be signed in to change notification settings - Fork 18
Labels
featureNew feature or requestNew feature or request
Description
In neovim, when you have a module variable, like M.marks
, and you pull it into a local variable, like local marks = require("buffer_manager").marks
, a copy of the original is created. Therefore, any manipulations of the local variable is not reflected in the original.
I created a telescope picker using buffer_manager marks. Yes, I know that there's a builtin buffer picker, but I want the order to match buffer_manager and the buffer_manager index to be in the picker. I can share if interested. When I access require("buffer_manager").marks
and it's updated in buffer_manager.ui
(even if I call require("buffer_manager.ui").update_marks()
manually), those updates are not accessible in my code.
Metadata
Metadata
Assignees
Labels
featureNew feature or requestNew feature or request