[vim/vim] Scope-like dictionary keys are mistaken for variable scopes (PR #20981)
Boobies (Vim Github Repository) <[email protected]> Sun, 09 Aug 2026 01:08:43 -0700
| Newsgroups | gmane.editors.vim.devel |
|---|---|
| Message-ID | <vim/vim/pull/[email protected]> |
My fix for #20270 essentially.
You can view, comment on, or merge this pull request online at:
https://github.com/vim/vim/pull/20981
-- Commit Summary --
* runtime(vim): scope-like dictionary keys are mistaken for variable scopes
-- File Changes --
M runtime/syntax/generator/vim.vim.base (12)
M runtime/syntax/testdir/dumps/vim9_comments_05.dump (4)
A runtime/syntax/testdir/dumps/vim9_dict_keys_00.dump (20)
A runtime/syntax/testdir/dumps/vim9_dict_keys_01.dump (20)
A runtime/syntax/testdir/dumps/vim9_dict_keys_02.dump (20)
M runtime/syntax/testdir/dumps/vim9_expressions_04.dump (2)
M runtime/syntax/testdir/dumps/vim_expressions_14.dump (2)
M runtime/syntax/testdir/dumps/vim_lambdas_04.dump (2)
M runtime/syntax/testdir/dumps/vim_lambdas_05.dump (8)
M runtime/syntax/testdir/dumps/vim_line_continuation_02.dump (4)
A runtime/syntax/testdir/input/setup/vim9_dict_keys.vim (2)
A runtime/syntax/testdir/input/vim9_dict_keys.vim (41)
M runtime/syntax/vim.vim (12)
-- Patch Links --
https://github.com/vim/vim/pull/20981.patch
https://github.com/vim/vim/pull/20981.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/vim/vim/pull/20981
You are receiving this because you are subscribed to this thread.
Message ID: <vim/vim/pull/[email protected]>
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/vim_dev/vim/vim/pull/20981%40github.com.