ERROR in nvim_win_get_cursor(scope.win) #1937
Unanswered
non-paulitical
asked this question in
Q&A
Replies: 2 comments 5 replies
-
Doesn't work? if not vim.api.nvim_win_is_valid(scope.win) then
return
end
local cursor = vim.api.nvim_win_get_cursor(scope.win) |
Beta Was this translation helpful? Give feedback.
1 reply
-
Note You should create an issue. Provide a minimal reproducible example: -- nvim -u repro.lua repro.lua
-- repro.lua
vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()
require("lazy.minit").repro({
spec = {
-- Plugins
{
"folke/snacks.nvim",
opts = {
-- options
}
},
},
}) |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I installed the obsidian.nvim plugin and some markdown lsp/plugins, after which I started gettings this error:
And the indent.lua line which is causing this issue is:
I tried validation the win cursor using:
but the issue still wasn't solved. Need your help guys.
Beta Was this translation helpful? Give feedback.
All reactions