Code view:

A painting is a person's account of this edit as text, recorded independently of the node mapping - a rendering often has several equally defensible answers where the mapping has one. Deletions and insertions carry no position on the opposite side in a painting, so that panel draws no caret for them.

Before

1#!/bin/sh
2
3set -e
4
5# Must be kept in sync with the version in .github/workflows/ci.yml
6version="v2.2.1"
7
8go run "github.com/golangci/golangci-lint/v2/cmd/golangci-lint@$version" "$@"
9

After

1#!/bin/sh
2
3set -e
4
5# Must be kept in sync with the version in .github/workflows/ci.yml
6version="v2.4.0"
7
8go run "github.com/golangci/golangci-lint/v2/cmd/golangci-lint@$version" "$@"
9

Before

program
comment "#!/bin/sh"
command
command_name
word "set"
word "-e"
comment "# Must be kept in sync with the version in .github/workflows"...
variable_assignment
variable_name "version"
= "="
string
" "\""
string_content "v2.2.1"
" "\""
command
command_name
word "go"
word "run"
string
" "\""
string_content "github.com/golangci/golangci-lint/v2/cmd/golangci-lint@"
simple_expansion
$ "$"
variable_name "version"
" "\""
string
" "\""
simple_expansion
$ "$"
special_variable_name "@"
" "\""

After

program
comment "#!/bin/sh"
command
command_name
word "set"
word "-e"
comment "# Must be kept in sync with the version in .github/workflows"...
variable_assignment
variable_name "version"
= "="
string
" "\""
string_content "v2.4.0"
" "\""
command
command_name
word "go"
word "run"
string
" "\""
string_content "github.com/golangci/golangci-lint/v2/cmd/golangci-lint@"
simple_expansion
$ "$"
variable_name "version"
" "\""
string
" "\""
simple_expansion
$ "$"
special_variable_name "@"
" "\""