[vim/vim] Rendering error in matchparen (Issue #20791)

5 views
Skip to first unread message

rendcrx

unread,
Jul 19, 2026, 5:32:55 AM (3 days ago) Jul 19
to vim/vim, Subscribed
rendcrx created an issue (vim/vim#20791)

Steps to reproduce

static void codegen_stmt(struct stmt_t *stmt)
{
	switch (stmt->kind) {
	case STMT_ASSIGN:
		codegen_assign(stmt->assign);
	case STMT_RETURN:
	default:
		assert(0);
	}
}
error.png (view on web)

Pressing o on the opening brace of a function definition may cause a brief highlighting glitch.

I can reproduce this with vim --clean -c "runtime! plugin/matchparen.vim"

Expected behaviour

There should be no incorrect highlighting.

Version of Vim

9.2.735

Environment

Operating system: Linux archlinux 7.1.2-arch3-1
Terminal: Kitty
Value of $TERM: xterm-kitty
Shell: /usr/bin/bash

Logs and stack traces


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/20791@github.com>

Mao-Yining

unread,
Jul 19, 2026, 5:40:09 AM (3 days ago) Jul 19
to vim/vim, Subscribed
mao-yining left a comment (vim/vim#20791)

Could you provide video or ascii cinima? Can't reproduce.


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/20791/5015235298@github.com>

rendcrx

unread,
Jul 19, 2026, 6:02:14 AM (3 days ago) Jul 19
to vim/vim, Subscribed
rendcrx left a comment (vim/vim#20791)

https://fileshot.io/f/c7d39a0f44ee5a409ea89e575626d407#k=bxnDItlZDR_bnn6JuQ0iO1FW0REXX8u-CY7u0rJ5dbw&h=kY2jlpicMdMD1gNsCwkpM0Z0sO6lO2gQP0IvHg4KQyI

@mao-yining It rendered incorrectly in the video the last time I pressed 'o'.


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/20791/5015294317@github.com>

rendcrx

unread,
Jul 21, 2026, 11:32:23 PM (6 hours ago) Jul 21
to vim/vim, Subscribed
rendcrx left a comment (vim/vim#20791)

https://github.com/user-attachments/assets/693bce2b-d490-447c-8462-d63308fcfdd5

    1. vim --clean -c "runtime! plugin/matchparen.vim"
    1. Repeatedly press o

    A rendering error occurs on the final o keypress shown in the video.


    Reply to this email directly, view it on GitHub, or unsubscribe.
    Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

    You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/20791/5041525016@github.com>

    Reply all
    Reply to author
    Forward
    0 new messages