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

@@ -39,6 +39,7 @@ jobs:
run: | run: |
# We have to build the parser every single time to keep up with parser changes # 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 cd ~/.local/share/nvim/site/pack/vendor/start/tree-sitter-lua
git checkout 86f74dfb69c570f0749b241f8f5489f8f50adbea
make dist make dist
cd - cd -

View File

@@ -316,7 +316,7 @@ do
display = function(entry) display = function(entry)
local display_filename = utils.transform_path(opts, entry.filename) local display_filename = utils.transform_path(opts, entry.filename)
local coordinates = "" local coordinates = ":"
if not disable_coordinates then if not disable_coordinates then
if entry.lnum then if entry.lnum then
if entry.col then if entry.col then