You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With 'jiaoshijie/undotree' installed at the same time, when the user presses <leader>u for that plugin's functionality, remember.nvim prints error messages such as below and prevents the other plugin from showing undotree:
E5108: Error executing lua vim/_editor.lua:431: nvim_exec2()..BufWinEnter Autocommands for "*": Vim(append):Error executing lua callback: Vim:E944: Reverse range in character class
stack traceback:
[C]: in function 'glob'
...Data/Local/nvim-data/lazy/remember.nvim/lua/remember.lua:59: in function 'set_cursor_position'
...Data/Local/nvim-data/lazy/remember.nvim/lua/remember.lua:99: in function <...Data/Local/nvim-data/lazy/remember.nvim/lua/remember.lua:98>
[C]: in function 'nvim_exec2'
vim/_editor.lua:431: in function 'cmd'
...al/nvim-data/lazy/undotree/lua/undotree/split_window.lua:54: in function 'create'
...Local/nvim-data/lazy/undotree/lua/undotree/collector.lua:137: in function 'run'
...j/AppData/Local/nvim-data/lazy/undotree/lua/undotree.lua:21: in function 'toggle'
[string ":lua"]:1: in main chunk
stack traceback:
[C]: in function 'nvim_exec2'
vim/_editor.lua:431: in function 'cmd'
...al/nvim-data/lazy/undotree/lua/undotree/split_window.lua:54: in function 'create'
...Local/nvim-data/lazy/undotree/lua/undotree/collector.lua:137: in function 'run'
...j/AppData/Local/nvim-data/lazy/undotree/lua/undotree.lua:21: in function 'toggle'
[string ":lua"]:1: in main chunk
Minimal init.lua to reproduce the issue
vim.g.mapleader = " "
-- auto install folke/lazy.nvim
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
vim.fn.system({
"git",
"clone",
"--filter=blob:none",
"https://github.com/folke/lazy.nvim.git",
"--branch=stable", -- latest stable release
lazypath,
})
end
vim.opt.rtp:prepend(lazypath)
local plugins = {
{
"vladdoster/remember.nvim",
config = true,
},
{
"jiaoshijie/undotree",
dependencies = "nvim-lua/plenary.nvim",
config = true,
keys = { -- load the plugin only when using it's keybinding:
{ "<leader>u", "<cmd>lua require('undotree').toggle()<cr>" },
},
},
}
require("lazy").setup(plugins, {})
Steps to reproduce the issue
Open any file in neovim
Press <leader>u
The text was updated successfully, but these errors were encountered:
Description
With 'jiaoshijie/undotree' installed at the same time, when the user presses
<leader>u
for that plugin's functionality, remember.nvim prints error messages such as below and prevents the other plugin from showing undotree:Minimal init.lua to reproduce the issue
Steps to reproduce the issue
<leader>u
The text was updated successfully, but these errors were encountered: