diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-09-12 08:50:26 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-12 00:50:26 +0000 |
| commit | 54a21b3a4b554d0a5c00707acc1e15e699fdc3e4 (patch) | |
| tree | fcce170625664c006ae3b15bc772a3ca5a31449a /runtime/lua/vim/provider/python.lua | |
| parent | 3bb0c870f576404aa6599daacf854d6126653a69 (diff) | |
| download | rneovim-54a21b3a4b554d0a5c00707acc1e15e699fdc3e4.tar.gz rneovim-54a21b3a4b554d0a5c00707acc1e15e699fdc3e4.tar.bz2 rneovim-54a21b3a4b554d0a5c00707acc1e15e699fdc3e4.zip | |
vim-patch:9.2.1072: runtime(synload): recursion error when setting ft=syntax (#41872)
Problem: recursion error when setting ft=syntax
Solution: Skip the special syntax filetype
(Christoffer Aasted)
This:
vim -Nu NONE \
+'set filetype=syntax' \
+'syntax on'
yields
E127: Cannot redefine function <SNR>2_SynSet: It is in use
Setting filetype=syntax will try to reload synload.vim while SynSet() is
still executing which causes this error.
closes: vim/vim#21271
https://github.com/vim/vim/commit/ad289eece7b9e7aab1ef005b2c21c454010280ea
Co-authored-by: Christoffer Aasted <dezzadk@gmail.com>
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
0 files changed, 0 insertions, 0 deletions