Skip to content

Error when using '*' in an R buffer with Nvim-R #41

@benjaminrich

Description

@benjaminrich

In certain contexts (not all, but I'm not yet able to indentify the specific conditions under which it occurs), when using '*' to search for the word under the cursor, I get the following error:

Error detected while processing function vimteractive#get_response:
line    1:
E121: Undefined variable: b:vimteractive_connected_term
E116: Invalid arguments for function getbufvar(b:vimteractive_connected_term, "vimteractive_term_type")
line    2:
E121: Undefined variable: l:term_type
Press ENTER or type command to continue

Following that, a new line containing a '0' is inserted in the buffer.

Note that I have vimteractive installed, but I'm not trying to use it (I am using Nvim-R). Does the plugin override the default '*' command to trigger some function (possibly in a way that is incompatible with Nvim-R)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions