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
end_col
Describe the bug
When using <cmd>HopLineAC<cr> or <cmd>HopLineBC<cr> to jump to below/above lines, there's an error:
<cmd>HopLineAC<cr>
<cmd>HopLineBC<cr>
To Reproduce
Install hop.nvim with lazy.nvim:
{ "smoka7/hop.nvim", version = "*", config = function() require("hop").setup() end, },
I found in below lua file, it can always re-produce this issue.
lua
Here's the file link: https://github.com/linrongbin16/fzfx.nvim/blob/2f7425cf7fdb94814eb98295f3fb7851daace68d/spec/lib/switches_spec.lua?plain=1#L13
local cwd = vim.fn.getcwd() describe("lib.switches", function() local assert_eq = assert.is_equal local assert_true = assert.is_true local assert_false = assert.is_false before_each(function() vim.api.nvim_command("cd " .. cwd) end) local switches = require("fzfx.lib.switches") describe("[fzfx_disable_buffer_previewer]", function() it("disabled", function() vim.g.fzfx_disable_buffer_previewer = 1 assert_true(switches.buffer_previewer_disabled()) vim.g.fzfx_disable_buffer_previewer = true assert_true(switches.buffer_previewer_disabled()) vim.g.fzfx_disable_buffer_previewer = "true" assert_false(switches.buffer_previewer_disabled()) vim.g.fzfx_disable_buffer_previewer = nil assert_false(switches.buffer_previewer_disabled()) end) it("enabled", function() vim.g.fzfx_disable_buffer_previewer = 0 assert_false(switches.buffer_previewer_disabled()) vim.g.fzfx_disable_buffer_previewer = false assert_false(switches.buffer_previewer_disabled()) vim.g.fzfx_disable_buffer_previewer = "false" assert_false(switches.buffer_previewer_disabled()) vim.g.fzfx_disable_buffer_previewer = nil assert_false(switches.buffer_previewer_disabled()) end) end) end)
The re-produce steps are:
function()
<S-V>
G
<Leader>k
Expected behavior
Don't throw exception, and jump correctly.
Screenshots
See above.
version (please complete the following information):
NVIM v0.10.1
Build type: Release
v2.7.0
Additional context
N/A.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
When using
<cmd>HopLineAC<cr>
or<cmd>HopLineBC<cr>
to jump to below/above lines, there's an error:To Reproduce
Install hop.nvim with lazy.nvim:
I found in below
lua
file, it can always re-produce this issue.Here's the file link: https://github.com/linrongbin16/fzfx.nvim/blob/2f7425cf7fdb94814eb98295f3fb7851daace68d/spec/lib/switches_spec.lua?plain=1#L13
The re-produce steps are:
function()
).<S-V>
to enter visual mode (and current line is selected).G
to go to bottom line (and from the start line to the bottom line are all selected).<Leader>k
(I mapped this key to<cmd>HopLineBC<cr>
) to jump to above lines.Expected behavior
Don't throw exception, and jump correctly.
Screenshots
See above.
version (please complete the following information):
NVIM v0.10.1
,Build type: Release
.v2.7.0
.Additional context
N/A.
The text was updated successfully, but these errors were encountered: