summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Kershaw <35707277+l-kershaw@users.noreply.github.com>2022-12-21 07:53:29 +0000
committerGitHub <noreply@github.com>2022-12-21 08:53:29 +0100
commit278c797b58020bd238b3a7e4c0b086a4414f8a34 (patch)
treeb0f999e1b8457c3644e6e69da40a8944f39bde3b
parentcabf991b1d3996fa6f3232327fc649bbdf676496 (diff)
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 <Simon-Hauser@outlook.de>
-rw-r--r--.github/workflows/docgen.yml1
-rw-r--r--lua/telescope/make_entry.lua2
2 files changed, 2 insertions, 1 deletions
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