[bug] Strange behavior of <cr>
Mythos-404 opened this issue · comments
Mythos_404 commented
altermo commented
Can you provide minimal config?
Mythos_404 commented
Testing revealed a relationship with vim.o.whichwrap
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",
"git@github.com:folke/lazy.nvim.git",
"--branch=stable", -- latest stable release
lazypath,
})
end
vim.opt.rtp:prepend(lazypath)
vim.o.whichwrap = "h,l,<,>,[,],~" -- !!!!!
require("lazy").setup({
{ "altermo/ultimate-autopair.nvim", opts = {}, url = "git@github.com:altermo/ultimate-autopair.nvim.git" },
})
altermo commented
Fixed; I forgot to go to the start of the line after the line change.