aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_ftplugin
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2026-10-05 14:35:44 +0200
committerJustin M. Keyes <justinkz@gmail.com>2026-10-05 18:57:28 +0200
commit37a2296d42922518cf19a2695c97f9960bc8ea28 (patch)
tree04254beabee6c4da671acf75e790375bf5a09884 /runtime/lua/vim/_ftplugin
parent96bbe82ed824c3cb3ccf67b407d61b62da1d9eda (diff)
downloadrneovim-37a2296d42922518cf19a2695c97f9960bc8ea28.tar.gz
rneovim-37a2296d42922518cf19a2695c97f9960bc8ea28.tar.bz2
rneovim-37a2296d42922518cf19a2695c97f9960bc8ea28.zip
fix(options): default of expanded option out of sync at startup
Problem: set_options_default() expands `$VAR` in the value but not the stored default. set_init_expand_env() then expands the value (already expanded), sees no change, and leaves the default unexpanded, so `:set` lists 'helpfile' as changed. This was accidentally hidden until 211623c1388d because env var depended on 'isident', which was not initialized at set_options_default() time. Solution: set_init_expand_env() expands the default, and sets both from it.
Diffstat (limited to 'runtime/lua/vim/_ftplugin')
0 files changed, 0 insertions, 0 deletions