-
Notifications
You must be signed in to change notification settings - Fork 11
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
Vim:Error invoking 'nvim_exec_lua' on channel 7 #17
Comments
I don't know why this would happen. For example: I wish "osv" can automatic start when I press i have tried to using autocmd to reach that for me. vim.api.nvim_create_autocmd({ "FileType" }, {
pattern = "lua",
callback = function ()
vim.keymap.set('n', '<C-d>', require "osv".run_this, { noremap = true, silent = true })
end
}) but i will got this messages
here's my config dap.configurations.lua = {
{
type = 'nlua',
request = 'attach',
name = "Attach to running Neovim instance",
host = '127.0.0.1',
port = 8088,
}
}
dap.adapters.nlua = function (callback, config)
callback({ type = 'server', host = config.host, port = config.port })
end |
Hi, So one-small-step-for-vimkind is not really meant to be used as a debugger for vanilla lua scripts. It was specifically designed to debug neovim plugins. Meaning you still need to manually start another instance + start the server with There is WIP ways to automatically start another neovim instance, and the debugger automatically here but this only works for linux/alacritty currently. |
Thanks! |
if i using this to auto enable the osv
then i will get this error messages
The text was updated successfully, but these errors were encountered: