fix: use head_pipeline if available

This commit is contained in:
Jakub F. Bortlík
2026-02-27 17:44:59 +01:00
parent c2e76d0937
commit 8b282b7758

View File

@@ -156,7 +156,7 @@ M.build_info_lines = function()
pipeline = {
title = "Pipeline Status",
content = function()
local pipeline = state.INFO.pipeline
local pipeline = info.head_pipeline ~= vim.NIL and info.head_pipeline or info.pipeline
if type(pipeline) ~= "table" or (type(pipeline) == "table" and u.table_size(pipeline) == 0) then
return ""
end