mirror of
https://github.com/vim/vim.git
synced 2025-10-04 05:25:06 -04:00
patch 8.2.2301: Vim9: cannot unlet a dict or list item
Problem: Vim9: cannot unlet a dict or list item. Solution: Add ISN_UNLETINDEX. Refactor assignment code to use for unlet.
This commit is contained in:
@@ -60,6 +60,7 @@ typedef enum {
|
||||
|
||||
ISN_UNLET, // unlet variable isn_arg.unlet.ul_name
|
||||
ISN_UNLETENV, // unlet environment variable isn_arg.unlet.ul_name
|
||||
ISN_UNLETINDEX, // unlet item of list or dict
|
||||
|
||||
ISN_LOCKCONST, // lock constant value
|
||||
|
||||
|
Reference in New Issue
Block a user