Module Expr Str Import alias Import alias Import alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Str Assign NameStore AttributeLoad NameLoad attr ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Lambda arguments args NameParam defaults Call NameLoad SubscriptLoad NameLoad Index Num Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str If NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Dict SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str NameLoad NameLoad NameLoad Return Call NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Str Assign AttributeStore NameLoad attr Call NameLoad NameLoad Str Str Assign AttributeStore NameLoad attr Call NameLoad NameLoad Str NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Str Str Assign AttributeStore NameLoad attr Call NameLoad NameLoad Str Assign AttributeStore NameLoad attr Call NameLoad NameLoad Str Assign AttributeStore NameLoad attr Call NameLoad NameLoad Str Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If CompareIs Call NameLoad NameLoad NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Return Call NameLoad NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body Return Call NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Return Call NameLoad AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body Return Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Return Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For NameStore Call AttributeLoad NameLoad attr Str body TryExcept body If CompareIsNot Call NameLoad NameLoad NameLoad body Break handlers ExceptHandler type NameLoad body Break decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call NameLoad NameLoad Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str NameLoad body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Expr Str TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Num keyword Num decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Str Assign NameStore Call AttributeLoad Str attr SubscriptLoad Call NameLoad NameLoad Num Slice Num FunctionDef arguments args defaults body TryExcept body Expr Call NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign NameStore Call AttributeLoad Str attr NameLoad Call NameLoad Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Raise decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad decorator_list AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Pass decorator_list
N/A N/A Main Nvim interface. N/A functools N/A os N/A sys traceback format_exc format_stack msgpack ExtType buffer Buffer common Remote RemoteApi RemoteMap RemoteSequence decode_if_bytes walk tabpage Tabpage window Window compat IS_PYTHON3 N/A __all__ Nvim N/A os_chdir N/A os chdir Nvim N/A object N/A N/A Class that represents a remote Nvim instance.

    This class is main entry point to Nvim remote API, it is a wrapper
    around Session instances.

    The constructor of this class must not be called directly. Instead, the
    `from_session` class method should be used to create the first instance
    from a raw `Session` instance.

    Subsequent instances for the same session can be created by calling the
    `with_decode` instance method to change the decoding behavior or
    `SubClass.from_nvim(nvim)` where `SubClass` is a subclass of `Nvim`, which
    is useful for having multiple `Nvim` objects that behave differently
    without one affecting the other.
     from_session N/A N/A cls session N/A N/A N/A Create a new Nvim instance for a Session instance.

        This method must be called to create the first Nvim instance, since it
        queries Nvim metadata for type information and sets a SessionHook for
        creating specialized objects from Nvim remote handles.
         N/A N/A session error_wrapper N/A N/A N/A e N/A N/A NvimError N/A e N/A 1 N/A N/A channel_id metadata N/A N/A session request vim_get_api_info N/A IS_PYTHON3 N/A N/A metadata N/A walk decode_if_bytes metadata N/A types N/A N/A N/A N/A metadata N/A types N/A Buffer N/A id N/A N/A N/A metadata N/A types N/A Window N/A id N/A N/A N/A metadata N/A types N/A Tabpage N/A id Buffer Window Tabpage N/A N/A cls session channel_id metadata types N/A classmethod from_nvim N/A N/A cls nvim N/A N/A N/A Create a new Nvim instance from an existing instance. N/A N/A cls N/A nvim _session N/A nvim channel_id N/A nvim metadata N/A nvim types N/A nvim _decode N/A nvim _err_cb N/A classmethod __init__ N/A N/A self session channel_id metadata types decode err_cb N/A False None N/A N/A Initialize a new Nvim instance. This method is module-private. N/A N/A self _session session N/A N/A self channel_id channel_id N/A N/A self metadata metadata N/A N/A self types types N/A N/A self api N/A RemoteApi self vim_ N/A N/A self vars N/A RemoteMap self vim_get_var vim_set_var N/A N/A self vvars N/A RemoteMap self vim_get_vvar None N/A N/A self options N/A RemoteMap self vim_get_option vim_set_option N/A N/A self buffers N/A RemoteSequence self vim_get_buffers N/A N/A self windows N/A RemoteSequence self vim_get_windows N/A N/A self tabpages N/A RemoteSequence self vim_get_tabpages N/A N/A self current N/A Current self N/A N/A self session N/A CompatibilitySession self N/A N/A self funcs N/A Funcs self N/A N/A self error NvimError N/A N/A self _decode decode N/A N/A self _err_cb err_cb N/A _from_nvim N/A N/A self obj decode N/A None N/A N/A N/A decode None N/A N/A decode N/A self _decode N/A N/A N/A type obj ExtType N/A N/A cls N/A N/A self types N/A N/A obj code N/A N/A cls self N/A N/A obj code N/A obj data N/A decode N/A N/A obj N/A decode_if_bytes obj decode N/A obj N/A _to_nvim N/A N/A self obj N/A N/A N/A N/A isinstance obj Remote N/A N/A N/A ExtType N/A obj code_data N/A obj N/A request N/A N/A self name N/A args kwargs N/A N/A Send an API request or notification to nvim.

        It is rarely needed to call this function directly, as most API
        functions have python wrapper functions. The `api` object can
        be also be used to call API functions as methods:

            vim.api.err_write('ERROR\n', async=True)
            vim.current.buffer.api.get_mark('.')

        is equivalent to

            vim.request('vim_err_write', 'ERROR\n', async=True)
            vim.request('buffer_get_mark', vim.current.buffer, '.')


        Normally a blocking request will be sent.  If the `async` flag is
        present and True, a asynchronous notification is sent instead. This
        will never block, and the return value or error is ignored.
         N/A decode N/A N/A kwargs pop decode N/A self _decode N/A args N/A walk N/A self _to_nvim args N/A res N/A N/A N/A self _session request name args kwargs N/A N/A walk N/A self _from_nvim res decode decode N/A next_message N/A N/A self N/A N/A N/A Block until a message(request or notification) is available.

        If any messages were previously enqueued, return the first in queue.
        If not, run the event loop until one is received.
         N/A msg N/A N/A N/A self _session next_message N/A msg N/A N/A N/A walk N/A self _from_nvim msg N/A run_loop N/A N/A self request_cb notification_cb setup_cb err_cb N/A None None N/A N/A Run the event loop to receive requests and notifications from Nvim.

        This should not be called from a plugin running in the host, which
        already runs the loop and dispatches events to plugins.
         filter_request_cb N/A N/A name args N/A N/A N/A args N/A walk N/A self _from_nvim args N/A result N/A request_cb N/A N/A self _from_nvim name args N/A N/A walk N/A self _to_nvim result N/A filter_notification_cb N/A N/A name args N/A N/A N/A N/A notification_cb N/A N/A self _from_nvim name N/A walk N/A self _from_nvim args N/A N/A N/A err_cb None N/A N/A err_cb N/A N/A sys stderr write N/A N/A self _err_cb err_cb N/A N/A N/A N/A self _session run filter_request_cb filter_notification_cb setup_cb N/A stop_loop N/A N/A self N/A N/A N/A Stop the event loop being started with `run_loop`. N/A N/A N/A N/A self _session stop N/A with_decode N/A N/A self decode N/A True N/A N/A Initialize a new Nvim instance. N/A N/A Nvim N/A self _session N/A self channel_id N/A self metadata N/A self types decode N/A self _err_cb N/A ui_attach N/A N/A self width height rgb N/A N/A N/A Register as a remote UI.

        After this method is called, the client will receive redraw
        notifications.
         N/A N/A N/A self request ui_attach width height rgb N/A ui_detach N/A N/A self N/A N/A N/A Unregister as a remote UI. N/A N/A N/A self request ui_detach N/A ui_try_resize N/A N/A self width height N/A N/A N/A Notify nvim that the client window has resized.

        If possible, nvim will send a redraw request to resize.
         N/A N/A N/A self request ui_try_resize width height N/A subscribe N/A N/A self event N/A N/A N/A Subscribe to a Nvim event. N/A N/A N/A self request vim_subscribe event N/A unsubscribe N/A N/A self event N/A N/A N/A Unsubscribe to a Nvim event. N/A N/A N/A self request vim_unsubscribe event N/A command N/A N/A self string N/A kwargs N/A N/A Execute a single ex command. N/A N/A N/A self request vim_command string kwargs N/A command_output N/A N/A self string N/A N/A N/A Execute a single ex command and return the output. N/A N/A N/A self request vim_command_output string N/A eval N/A N/A self string N/A kwargs N/A N/A Evaluate a vimscript expression. N/A N/A N/A self request vim_eval string kwargs N/A call N/A N/A self name N/A args kwargs N/A N/A Call a vimscript function. N/A N/A N/A self request vim_call_function name args kwargs N/A strwidth N/A N/A self string N/A N/A N/A Return the number of display cells `string` occupies.

        Tab is counted as one cell.
         N/A N/A N/A self request vim_strwidth string N/A list_runtime_paths N/A N/A self N/A N/A N/A Return a list of paths contained in the 'runtimepath' option. N/A N/A N/A self request vim_list_runtime_paths N/A foreach_rtp N/A N/A self cb N/A N/A N/A Invoke `cb` for each path in 'runtimepath'.

        Call the given callable for each path in 'runtimepath' until either
        callable returns something but None, the exception is raised or there
        are no longer paths. If stopped in case callable returned non-None,
        vim.foreach_rtp function returns the value returned by callable.
         N/A path N/A N/A self request vim_list_runtime_paths N/A N/A N/A N/A N/A N/A cb path None N/A N/A N/A N/A N/A Exception N/A N/A N/A chdir N/A N/A self dir_path N/A N/A N/A Run os.chdir, then all appropriate vim stuff. N/A N/A os_chdir dir_path N/A N/A N/A self request vim_change_directory dir_path N/A feedkeys N/A N/A self keys options escape_csi N/A True N/A N/A Push `keys` to Nvim user input buffer.

        Options can be a string with the following character flags:
        - 'm': Remap keys. This is default.
        - 'n': Do not remap keys.
        - 't': Handle keys as if typed; otherwise they are handled as if coming
               from a mapping. This matters for undo, opening folds, etc.
         N/A N/A N/A self request vim_feedkeys keys options escape_csi N/A input N/A N/A self bytes N/A N/A N/A Push `bytes` to Nvim low level input buffer.

        Unlike `feedkeys()`, this uses the lowest level input buffer and the
        call is not deferred. It returns the number of bytes actually
        written(which can be less than what was requested if the buffer is
        full).
         N/A N/A N/A self request vim_input bytes N/A replace_termcodes N/A N/A self string from_part do_lt special N/A False True True N/A N/A Replace any terminal code strings by byte sequences.

        The returned sequences are Nvim's internal representation of keys,
        for example:

        <esc> -> '\x1b'
        <cr>  -> '\r'
        <c-l> -> '\x0c'
        <up>  -> '\x80ku'

        The returned sequences can be used as input to `feedkeys`.
         N/A N/A N/A self request vim_replace_termcodes string from_part do_lt special N/A out_write N/A N/A self msg N/A N/A N/A Print `msg` as a normal message. N/A N/A N/A self request vim_out_write msg N/A err_write N/A N/A self msg N/A kwargs N/A N/A Print `msg` as an error message. N/A N/A N/A self request vim_err_write msg kwargs N/A quit N/A N/A self quit_command N/A qa! N/A N/A Send a quit command to Nvim.

        By default, the quit command is 'qa!' which will make Nvim quit without
        saving anything.
         N/A N/A N/A N/A N/A self command quit_command N/A N/A N/A IOError N/A N/A N/A new_highlight_source N/A N/A self N/A N/A N/A Return new src_id for use with Buffer.add_highlight. N/A N/A N/A N/A N/A self current buffer add_highlight 0 src_id 0 N/A async_call N/A N/A self fn N/A args kwargs N/A N/A Schedule `fn` to be called by the event loop soon.

        This function is thread-safe, and is the only way code not
        on the main thread could interact with nvim api objects.

        This function can also be called in a synchronous
        event handler, just before it returns, to defer execution
        that shouldn't block neovim.
         N/A call_point N/A N/A join N/A N/A format_stack None 5 N/A -1 handler N/A N/A N/A N/A N/A N/A N/A N/A fn args kwargs N/A N/A N/A Exception N/A err N/A N/A msg N/A N/A error caught while executing async callback:
{0!r}
{1}
 
the call was requested at
{2} format err N/A format_exc 5 call_point N/A N/A N/A self _err_cb msg N/A N/A N/A N/A N/A N/A self _session threadsafe_call handler N/A N/A CompatibilitySession N/A object N/A N/A Helper class for API compatibility. __init__ N/A N/A self nvim N/A N/A N/A N/A self threadsafe_call N/A nvim async_call N/A N/A Current N/A object N/A N/A Helper class for emulating vim.current from python-vim. __init__ N/A N/A self session N/A N/A N/A N/A self _session session N/A N/A self range None N/A line N/A N/A self N/A N/A N/A N/A N/A N/A self _session request vim_get_current_line N/A property line N/A N/A self line N/A N/A N/A N/A N/A N/A self _session request vim_set_current_line line N/A N/A line setter buffer N/A N/A self N/A N/A N/A N/A N/A N/A self _session request vim_get_current_buffer N/A property buffer N/A N/A self buffer N/A N/A N/A N/A N/A N/A self _session request vim_set_current_buffer buffer N/A N/A buffer setter window N/A N/A self N/A N/A N/A N/A N/A N/A self _session request vim_get_current_window N/A property window N/A N/A self window N/A N/A N/A N/A N/A N/A self _session request vim_set_current_window window N/A N/A window setter tabpage N/A N/A self N/A N/A N/A N/A N/A N/A self _session request vim_get_current_tabpage N/A property tabpage N/A N/A self tabpage N/A N/A N/A N/A N/A N/A self _session request vim_set_current_tabpage tabpage N/A N/A tabpage setter N/A Funcs N/A object N/A N/A Helper class for functional vimscript interface. __init__ N/A N/A self nvim N/A N/A N/A N/A self _nvim nvim N/A __getattr__ N/A N/A self name N/A N/A N/A N/A N/A functools partial N/A N/A self _nvim call name N/A N/A NvimError N/A Exception N/A N/A N/A