Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(api): nvim_exec2(), deprecate nvim_exec() #19032

Merged
merged 1 commit into from
Mar 25, 2023

Commits on Mar 25, 2023

  1. feat(api): implement nvim_exec2(), deprecate nvim_exec()

    Problem:
    With current implementation of `nvim_exec()` there is no easy way to
    further customize its behavior (except keep adding new special
    arguments).
    Also there is no way for user to gain information about how
    `nvim_exec()` performed (except getting output of supplied Vimscrpit
    code).
    
    Solution:
    Implement `nvim_exec2()` which takes table with options and
    returns table with relevant data.
    Deprecate `nvim_exec()`.
    echasnovski committed Mar 25, 2023
    Configuration menu
    Copy the full SHA
    ddde72f View commit details
    Browse the repository at this point in the history