mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.1462: Vim9: string slice not supported yet
Problem: Vim9: string slice not supported yet. Solution: Add support for string slicing.
This commit is contained in:
@@ -117,6 +117,7 @@ typedef enum {
|
||||
// expression operations
|
||||
ISN_CONCAT,
|
||||
ISN_STRINDEX, // [expr] string index
|
||||
ISN_STRSLICE, // [expr:expr] string slice
|
||||
ISN_LISTINDEX, // [expr] list index
|
||||
ISN_SLICE, // drop isn_arg.number items from start of list
|
||||
ISN_GETITEM, // push list item, isn_arg.number is the index
|
||||
|
Reference in New Issue
Block a user