Skip to content

Server is different version than REPLSmuggler.jl #48

Description

@Elphikaus

Hi,

I have REPLSmuggler.jl v0.5.1
nvim: 1.10.2
julia: 1.11.2
Ubuntu 22

I am trying out this package, I am new to neovim and so, plugins are not a confident area for my neovim + julia usage.

I am getting an error that does not let me send code to the REPL, especially when I try <leader>cs.

Here is what I have looked at:

In protocols.lua there is

M.PROTOCOL_VERSION = vim.version.parse("0.5.x")

on line 4.

On line 93

    if vim.version.gt(M.PROTOCOL_VERSION, serverprotocolversion) then
        log.fatal(
            "The server uses version: "
                .. M.format_version(serverprotocolversion)
                .. " and we expect: "
                .. M.format_version(M.PROTOCOL_VERSION)
                .. ". Consider upgrading REPLSmuggler.jl."
        )
        success = false

I run

using REPLSmuggler
smuggle()

then I get

[ Info: Ahoy, now smuggling from socket /run/user/1000/julia/replsmuggler/illicit_covert_transport.
Task (runnable, started) @0x00007878028ab530

If I do showsmuggler()

/run/user/1000/julia/replsmuggler/illicit_covert_transport

But in my other winder in nvim if is select text in visual mode and run <leader>cs I get this error:

[smuggler] (10/19:37)
.../share/nvim/lazy/nvim-smuggler/lua/smuggler/protocol.lua:93
The server uses version: 0.4.0 and we expect: 0.5.0. Consider upgrading REPLSmuggler.jl

I am allowed to press enter and I see on the REPL side:

┌ Info: New client connected
└   session = Session{Base.PipeEndpoint}()


┌ Info: REPL client exited
└   session = Session{Base.PipeEndpoint}()

Can you assist in my debugging of this problem.

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