hop.nvim icon indicating copy to clipboard operation
hop.nvim copied to clipboard

case_insensitive Isn't working

Open carlos-algms opened this issue 9 months ago • 0 comments

Describe the bug Setting the case_insensitive = false, on the opts key and then running commands like: :HopChar1 doesn't seem to be working

To Reproduce Steps to reproduce the behavior:

-- bootstrap lazy
        local lazypath = root .. "/plugins/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", lazypath, })
        end
        vim.opt.runtimepath:prepend(lazypath)

-- install hop.nvim
        local plugins = {
          { 
            "smoka7/hop.nvim", 
            opts = { 
               case_insensitive = false, 
            } 
          },
        }
        require("lazy").setup(plugins,{})
--- How You use hop...

:HopChar1

Expected behavior It should respect the case_insensitive prop and only highlight the matching capital letters.

version (please complete the following information):

  • Nvim version: 0.9.5
  • hop.nvim version: * (latest)

carlos-algms avatar May 15 '24 16:05 carlos-algms