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>
This commit is contained in:
Luke Kershaw
2022-12-21 07:53:29 +00:00
committed by GitHub
parent cabf991b1d
commit 278c797b58
2 changed files with 2 additions and 1 deletions

View File

@@ -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