From 278c797b58020bd238b3a7e4c0b086a4414f8a34 Mon Sep 17 00:00:00 2001 From: Luke Kershaw <35707277+l-kershaw@users.noreply.github.com> Date: Wed, 21 Dec 2022 07:53:29 +0000 Subject: [PATCH] fix(builtin.live_grep): add spacer ":" even when coordinates disabled (#2275) * fix(builtin.live_grep): add spacer ":" even when coordinates disabled * fix docgen Co-authored-by: Simon Hauser --- .github/workflows/docgen.yml | 1 + lua/telescope/make_entry.lua | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docgen.yml b/.github/workflows/docgen.yml index b00bf44..7f181d9 100644 --- a/.github/workflows/docgen.yml +++ b/.github/workflows/docgen.yml @@ -39,6 +39,7 @@ jobs: run: | # We have to build the parser every single time to keep up with parser changes cd ~/.local/share/nvim/site/pack/vendor/start/tree-sitter-lua + git checkout 86f74dfb69c570f0749b241f8f5489f8f50adbea make dist cd - diff --git a/lua/telescope/make_entry.lua b/lua/telescope/make_entry.lua index ea0a8f7..3843e5d 100644 --- a/lua/telescope/make_entry.lua +++ b/lua/telescope/make_entry.lua @@ -316,7 +316,7 @@ do display = function(entry) local display_filename = utils.transform_path(opts, entry.filename) - local coordinates = "" + local coordinates = ":" if not disable_coordinates then if entry.lnum then if entry.col then