annotate runtime/indent/changelog.vim @ 28459:52ef65c0637f v8.2.4754

patch 8.2.4754: using cached values after unsetting some environment variables Commit: https://github.com/vim/vim/commit/7714231bb5b15f7c85453f3945c108478de1d08a Author: LemonBoy <thatlemon@gmail.com> Date: Fri Apr 15 20:50:46 2022 +0100 patch 8.2.4754: using cached values after unsetting some environment variables Problem: Still using cached values after unsetting some known environment variables. Solution: Take care of the side effects. (closes #10194)
author Bram Moolenaar <Bram@vim.org>
date Fri, 15 Apr 2022 22:00:03 +0200
parents 73354c21f1e4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
234
a686fd6c8beb updated for version 7.0065
vimboss
parents:
diff changeset
1 " Vim indent file
a686fd6c8beb updated for version 7.0065
vimboss
parents:
diff changeset
2 " Language: generic Changelog file
a686fd6c8beb updated for version 7.0065
vimboss
parents:
diff changeset
3 " Maintainer: noone
237
73354c21f1e4 updated for version 7.0066
vimboss
parents: 234
diff changeset
4 " Last Change: 2005 Mar 29
234
a686fd6c8beb updated for version 7.0065
vimboss
parents:
diff changeset
5
a686fd6c8beb updated for version 7.0065
vimboss
parents:
diff changeset
6 " Only load this indent file when no other was loaded.
a686fd6c8beb updated for version 7.0065
vimboss
parents:
diff changeset
7 if exists("b:did_indent")
a686fd6c8beb updated for version 7.0065
vimboss
parents:
diff changeset
8 finish
a686fd6c8beb updated for version 7.0065
vimboss
parents:
diff changeset
9 endif
a686fd6c8beb updated for version 7.0065
vimboss
parents:
diff changeset
10 let b:did_indent = 1
a686fd6c8beb updated for version 7.0065
vimboss
parents:
diff changeset
11
a686fd6c8beb updated for version 7.0065
vimboss
parents:
diff changeset
12 setlocal ai
a686fd6c8beb updated for version 7.0065
vimboss
parents:
diff changeset
13
a686fd6c8beb updated for version 7.0065
vimboss
parents:
diff changeset
14 let b:undo_indent = "setl ai<"