We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
0.8.0
Linux
Using a key binding to load plugin results in random register pastes instead of actual key press. See repro.lua.
Reverting this change fixes the issue: e93f50f
Key-binding should load plugin and forward key event normally (7.9.0 behaviour)
-- DO NOT change the paths and don't remove the colorscheme local root = vim.fn.fnamemodify("./.repro", ":p") -- set stdpaths to use .repro for _, name in ipairs({ "config", "data", "state", "cache" }) do vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name end -- bootstrap lazy local lazypath = root .. "/plugins/lazy.nvim" if not vim.loop.fs_stat(lazypath) then vim.fn.system({ "git", "clone", "--filter=blob:none", "--single-branch", "https://github.com/folke/lazy.nvim.git", lazypath, }) end vim.opt.runtimepath:prepend(lazypath) -- install plugins vim.keymap.set('n', '<Leader>e', '<Plug>(x-file-explorer)', { silent = true }) local M = { "nvim-neo-tree/neo-tree.nvim", branch = "v2.x", dependencies = { "nvim-lua/plenary.nvim", "kyazdani42/nvim-web-devicons", "MunifTanjim/nui.nvim", "plenary.nvim", 'nvim-web-devicons', 'nui.nvim', }, keys = { '<Plug>(x-file-explorer)', }, config = function() vim.keymap.set('n', '<Plug>(x-file-explorer)', '<cmd>Neotree toggle<CR>', {}) end } local plugins = { "folke/tokyonight.nvim", M } require("lazy").setup(plugins, { root = root .. "/plugins", }) vim.cmd.colorscheme("tokyonight")
The text was updated successfully, but these errors were encountered:
Duplicate of #307 that was raised while raising this issue.
Sorry, something went wrong.
There is this comment on nvim_input() API that is likely related:
Note: |keycodes| like <CR> are translated, so "<" is special. To input a literal "<", send <LT>.
507b695
Should be fixed now. Do make sure you set your mapleader before loading lazy
Successfully merging a pull request may close this issue.
Did you check docs and existing issues?
Neovim version (nvim -v)
0.8.0
Operating system/version
Linux
Describe the bug
Using a key binding to load plugin results in random register pastes instead of actual key press. See repro.lua.
Reverting this change fixes the issue: e93f50f
Steps To Reproduce
Expected Behavior
Key-binding should load plugin and forward key event normally (7.9.0 behaviour)
Repro
The text was updated successfully, but these errors were encountered: