···89899090 b.WriteString("\n")
9191 b.WriteString(style.passiveLineNr.Render(sign.passiveIndent))
9292- b.WriteString(style.activeLineNr.Width(col + 3*tabCount + len(msg.Location.Line)).Align(lipgloss.Right).Render("^"))
9292+9393+ leftPadding := col + // current column to place the pointer at
9494+ 3*tabCount + // if the line has tabs, we convert to spaces and offset
9595+ len(msg.Location.Line) + // we always print line-numbers, so offset by that too
9696+ 1 // there is a single space between line-number and line content
9797+ b.WriteString(style.activeLineNr.Width(leftPadding).Align(lipgloss.Right).Render("^"))
9398 }
9499 b.WriteString("\n")
95100 }