Hi, I recently noticed that quite a few of the plugins I use are polluting the global namespace often without the necessity to do so. I wanted to ask if all the globals like these functions could be handled in another way (standard requiring of a module or something not putting more stuff in the global namespace).
unception_edit_files
unception_escape_special_chars
unception_get_absolute_filepath
unception_handle_bufunload
unception_handle_quitpre
unception_notify_when_done_editing
unception_pipe_path_host_env_var
I know this sounds niche, and it probably is, but I like performance, and considering how often I actually open another nvim inside nvim it is certainly better to have the globals cleaner and for that moments of need use a normal module require.
I don't fully know the inner workings, so it might be unavoidable in this usecase, but I can't imagine a situation that would make it so.
Hi, I recently noticed that quite a few of the plugins I use are polluting the global namespace often without the necessity to do so. I wanted to ask if all the globals like these functions could be handled in another way (standard requiring of a module or something not putting more stuff in the global namespace).
I know this sounds niche, and it probably is, but I like performance, and considering how often I actually open another nvim inside nvim it is certainly better to have the globals cleaner and for that moments of need use a normal module require.
I don't fully know the inner workings, so it might be unavoidable in this usecase, but I can't imagine a situation that would make it so.