diff options
| author | Puneet Dixit <puneetdixit4321@gmail.com> | 2026-05-17 21:48:24 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-17 12:18:24 -0400 |
| commit | fff9897ce3f246add656ebf28bbcc843900431f1 (patch) | |
| tree | 007e3594a2b311a0834414194727f140625dac2a /runtime/lua/vim/range.lua | |
| parent | 767fbd88ff3c10326a523b9ffc6c0fe9ed37037e (diff) | |
| download | rneovim-fff9897ce3f246add656ebf28bbcc843900431f1.tar.gz rneovim-fff9897ce3f246add656ebf28bbcc843900431f1.tar.bz2 rneovim-fff9897ce3f246add656ebf28bbcc843900431f1.zip | |
fix(startup): emitting useless OptionSet #39830
Problem:
During startup, we manually trigger a useless and misleading `OptionSet`
event, which doesn't set `v:option_*` values (this is a limitation of
`nvim_exec_autocmds`).
https://github.com/neovim/neovim/blob/ad4bc2d90c5109c24bf6f0119ad31276f1518c6f/runtime/lua/vim/_core/defaults.lua#L939.
Solution:
The `nvim_exec_autocmds('OptionSet',…)` call does not serve any purpose
since 5cbb9d613bf6d8983b5effd7e20343a4ef497c06, so just drop it.
Diffstat (limited to 'runtime/lua/vim/range.lua')
0 files changed, 0 insertions, 0 deletions