Well, listen up, folks! REPLSmuggler.jl
just slipped into your cozy REPL like a shadow in the night.
Demo | Features | Installation | Configuration | Documentation | Acknowledgements | License
Neo-Vim companion plugin for REPLSmuggler.jl. Send code to your Julia REPL, and get Neo-Vim diagnostics in return.
- Send text to Julia REPL
- Auto-detection of available REPL
- Send multiple lines
- Send range
- Send text objects
- Dynamic choice of module for execution
Using Lazy:
return {
"klafyvel/nvim-smuggler",
config=true,
dependencies = { "nvim-neotest/nvim-nio" },
}
Using Lazy, you can set the following options (here given with their default values):
{
"klafyvel/nvim-smuggler",
opts = {
mappings = true, -- set to false to disable all mappings.
map_smuggle = "<leader>cs", -- Use `[count]<leader>cs` in normal mode to send count lines.
map_smuggle_range = "<leader>cs", -- Use `<leader>cs` in visual mode to send the current selection.
map_smuggle_config = "<leader>ce", -- Use `<leader>ce` in normal mode to reconfigure the plugin.
map_smuggle_operator = "gcs", -- Use `gcs[text object]` to send a text object in normal mode.
},
dependencies = { "nvim-neotest/nvim-nio" },
}
See :help smuggler
.
- vim-slime by jpalardy inspired the design for sending code to the REPL from a buffer,
- nvim-nio is used for all asynchronous stuff in the plugin.
NVim-Smuggler is available under the MIT license.