Files
vim/runtime
Christoffer Aasted ad289eece7 patch 9.2.1072: runtime(synload): recursion error when setting ft=syntax
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: #21271

Signed-off-by: Christoffer Aasted <dezzadk@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2026-09-11 20:44:14 +00:00
..
2025-10-03 08:02:02 +00:00
…
…
…
…
…