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 indent file
2" Language: lf file manager configuration file (lfrc)
3" Maintainer: Andis Sprinkis <andis@sprinkis.com>
4" URL: https://github.com/andis-sprinkis/lf-vim
5" Last Change: 26 Oct 2025
6
7if exists("b:did_indent") | finish | endif
8
9" Correctly indent embedded shell commands.
10runtime! indent/sh.vim
11

After

1" Vim indent file
2" Language: lf file manager configuration file (lfrc)
3" Maintainer: Andis Sprinkis <andis@sprinkis.com>, @CatsDeservePets
4" URL: https://github.com/andis-sprinkis/lf-vim
5" Last Change: 26 Oct 2025
6
7if exists("b:did_indent") | finish | endif
8
9" Correctly indent embedded shell commands.
10runtime! indent/sh.vim
11

Before

script_file
comment "\" Vim indent file"
comment "\" Language: lf file manager configuration file (lfrc)"
comment "\" Maintainer: Andis Sprinkis <andis@sprinkis.com>"
comment "\" URL: https://github.com/andis-sprinkis/lf-vim"
comment "\" Last Change: 26 Oct 2025"
if_statement
if "if"
call_expression
identifier "exists"
( "("
string_literal "\"b:did_indent\""
) ")"
body
unknown_builtin_statement
unknown_command_name "finish"
endif "endif"
comment "\" Correctly indent embedded shell commands."
runtime_statement
runtime "runtime"
bang
! "!"
filenames
filename "indent/sh.vim"

After

script_file
comment "\" Vim indent file"
comment "\" Language: lf file manager configuration file (lfrc)"
comment "\" Maintainer: Andis Sprinkis <andis@sprinkis.com>, @CatsDese"...
comment "\" URL: https://github.com/andis-sprinkis/lf-vim"
comment "\" Last Change: 26 Oct 2025"
if_statement
if "if"
call_expression
identifier "exists"
( "("
string_literal "\"b:did_indent\""
) ")"
body
unknown_builtin_statement
unknown_command_name "finish"
endif "endif"
comment "\" Correctly indent embedded shell commands."
runtime_statement
runtime "runtime"
bang
! "!"
filenames
filename "indent/sh.vim"