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" Vim filetype plugin file
2" Language: Haskell Cabal Build file
3" Maintainer: Riley Bruins <ribru17@gmail.com>
4" Last Change: 2024 Jul 06
5
6if exists('b:did_ftplugin')
7 finish
8endif
9let b:did_ftplugin = 1
10
11setl comments=:-- commentstring=--\ %s
12
13let b:undo_ftplugin = 'setl com< cms<'
14

After

1" Vim filetype plugin file
2" Language: Haskell Cabal Build file
3" Maintainer: Riley Bruins <ribru17@gmail.com>
4" Last Change: 2024 Jul 06
5" 2026 Jan 13 by Vim project: set compiler #19152
6
7if exists('b:did_ftplugin')
8 finish
9endif
10let b:did_ftplugin = 1
11
12compiler cabal
13
14let b:undo_ftplugin = 'compiler make'
15
16setl comments=:-- commentstring=--\ %s
17
18let b:undo_ftplugin .= '| setl com< cms<'
19

Before

script_file
comment "\" Vim filetype plugin file"
comment "\" Language:\tHaskell Cabal Build file"
comment "\" Maintainer:\tRiley Bruins <ribru17@gmail.com>"
comment "\" Last Change:\t2024 Jul 06"
if_statement
if "if"
call_expression
identifier "exists"
( "("
string_literal "'b:did_ftplugin'"
) ")"
body
unknown_builtin_statement
unknown_command_name "finish"
endif "endif"
let_statement
let "let"
scoped_identifier
scope "b:"
identifier "did_ftplugin"
= "="
integer_literal "1"
setlocal_statement
setlocal "setl"
set_item
option_name "comments"
= "="
set_value ":--"
" "
set_item
option_name "commentstring"
= "="
set_value "--\\ %s"
let_statement
let "let"
scoped_identifier
scope "b:"
identifier "undo_ftplugin"
= "="
string_literal "'setl com< cms<'"

After

script_file
comment "\" Vim filetype plugin file"
comment "\" Language:\tHaskell Cabal Build file"
comment "\" Maintainer:\tRiley Bruins <ribru17@gmail.com>"
comment "\" Last Change:\t2024 Jul 06"
comment "\" 2026 Jan 13 by Vim project: set compiler #19152"
if_statement
if "if"
call_expression
identifier "exists"
( "("
string_literal "'b:did_ftplugin'"
) ")"
body
unknown_builtin_statement
unknown_command_name "finish"
endif "endif"
let_statement
let "let"
scoped_identifier
scope "b:"
identifier "did_ftplugin"
= "="
integer_literal "1"
unknown_builtin_statement
unknown_command_name "compiler"
arguments
command_argument "cabal"
let_statement
let "let"
scoped_identifier
scope "b:"
identifier "undo_ftplugin"
= "="
string_literal "'compiler make'"
setlocal_statement
setlocal "setl"
set_item
option_name "comments"
= "="
set_value ":--"
" "
set_item
option_name "commentstring"
= "="
set_value "--\\ %s"
let_statement
let "let"
scoped_identifier
scope "b:"
identifier "undo_ftplugin"
.= ".="
string_literal "'| setl com< cms<'"