peek.nvim
peek.nvim copied to clipboard
Unable to preview in browser.
Describe the bug After executing “:PeekOpen", the preview cannot be opened in the browser. It seems to be always loading.
To Reproduce As described above.
Expected behavior Just preview md file.
Screenshots
Desktop (please complete the following information):
- OS: macOS 13.3.1
-
nvim --version
:
NVIM v0.9.0
Build type: Release
LuaJIT 2.1.0-beta3
-
deno --version
:
deno 1.32.4 (release, aarch64-apple-darwin)
v8 11.2.214.9
typescript 5.0.3
- plugin setup:
return {
{
'toppair/peek.nvim',
build = 'deno task --quiet build:fast',
ft = 'markdown',
config = function()
vim.api.nvim_create_user_command('PeekOpen', require('peek').open, {})
vim.api.nvim_create_user_command('PeekClose', require('peek').close, {})
require('peek').setup ({
theme = 'light',
app = 'browser',
})
end
}
}
Additional context None.
You can get more information if you open Console in Developer tools, usually Ctrl+Shift+I
. Check #31, the symptoms are the same.
I am seeing this same behavior, but opening up the console does not show the same errors as described in #31
In session storage I have session
with the "{"base":"http://localhost:35241/?theme=dark","html":"\n <div class=\"loader\"></div>\n "}"
.
The network panel shows no additional activity after the first websocket frame. The Console is empty.
Update it is now working, I can see frames in the websocket response. Don't know if this is due to a recent Deno upgrade I've did, Firefox (now using 113.0.2 (64-bit)) or something else (maybe https://github.com/toppair/peek.nvim/commit/67752e7581f88da6899838985a05705b008e4185)