From ce12ab0e1a5e57d8a47d7245e5544519151984bb Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Fri, 24 Oct 2025 00:37:27 -0400 Subject: [PATCH] minimize docs --- doc/cp.nvim.txt | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/doc/cp.nvim.txt b/doc/cp.nvim.txt index 0dfd9dd..27cf18e 100644 --- a/doc/cp.nvim.txt +++ b/doc/cp.nvim.txt @@ -517,29 +517,6 @@ Minimal format: >lua } end < -With custom alignment using helpers: >lua - local helpers = require('cp').helpers - format_verdict = function(data) - local status = helpers.pad_right(data.status.text, 3) - local time = string.format("%.1fms", data.time_ms) - return { line = string.format("Test %d: %s %s", data.index, status, time) } - end -< -With highlighting: >lua - format_verdict = function(data) - local line = string.format("%d: %s", data.index, data.status.text) - return { - line = line, - highlights = { - { - col_start = #tostring(data.index) + 2, - col_end = #line, - group = data.status.highlight_group - } - } - } - end -< See |cp-helpers| for alignment functions: pad_right, pad_left, center. ==============================================================================