diff options
| author | Sean Dewar <6256228+seandewar@users.noreply.github.com> | 2025-05-09 00:26:07 +0100 |
|---|---|---|
| committer | Sean Dewar <6256228+seandewar@users.noreply.github.com> | 2026-01-15 20:08:45 +0000 |
| commit | 3cb462a9608f67fca3873e4ade1cd552d0220c44 (patch) | |
| tree | 9dcb32cdc60a9c2f1ac73fa6c1ff6b04a0605a53 /runtime/syntax/python.vim | |
| parent | 6082b7f850b592a9d2e3a55b00b22dc862ad1858 (diff) | |
| download | rneovim-3cb462a9608f67fca3873e4ade1cd552d0220c44.tar.gz rneovim-3cb462a9608f67fca3873e4ade1cd552d0220c44.tar.bz2 rneovim-3cb462a9608f67fca3873e4ade1cd552d0220c44.zip | |
fix(api): autocmds mess up nvim_get_option_value's dummy buffer
Problem: When the "filetype" key is set for nvim_get_option_value, autocommands
can crash Nvim by prematurely wiping the dummy buffer, or cause options intended
for it to instead be set for unrelated buffers if switched during OptionSet.
Solution: Don't crash. Also quash side-effects from setting the buffer options.
Diffstat (limited to 'runtime/syntax/python.vim')
0 files changed, 0 insertions, 0 deletions