Skip to content

disable_coordinates dont work for live_grep #3530

@svonjoi

Description

@svonjoi

Description

according to :h builtin.live_grep there is option to hide line & row numbers

builtin.live_grep({opts})                      *telescope.builtin.live_grep()*
...
        {disable_coordinates} (boolean)         don't show the line & row
                                                numbers (default: false)

but it doent work

Neovim version

NVIM v0.11.4
Build type: RelWithDebInfo
LuaJIT 2.1.1753364724

Operating system and version

EOS

Telescope version / branch / rev

master

checkhealth telescope

==============================================================================
telescope:                                                                  ✅

Checking for required plugins ~
- ✅ OK plenary installed.
- ✅ OK nvim-treesitter installed.

Checking external dependencies ~
- ✅ OK rg: found ripgrep 14.1.1
- ✅ OK fd: found fd 10.3.0

===== Installed extensions ===== ~

Telescope Extension: `live_grep_args` ~
- No healthcheck provided

Telescope Extension: `possession` ~
- No healthcheck provided

Steps to reproduce

press keybind

Expected behavior

don't show the line & row numbers

Actual behavior

line & row number still there

Minimal config

return {
  {
    "nvim-telescope/telescope.nvim",
    keys = {
      {
        "<leader>t",
        function()
          local builtin = require("telescope.builtin")
          builtin.live_grep({
            disable_coordinates = true,
          })
        end,
        desc = "test",
      },
   }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions