Bram Moolenaar
4f73b8e9cc
patch 8.2.1726: fuzzy matching only works on strings
...
Problem: Fuzzy matching only works on strings.
Solution: Support passing a dict. Add matchfuzzypos() to also get the match
positions. (Yegappan Lakshmanan, closes #6947 )
2020-09-22 20:33:50 +02:00
Bram Moolenaar
1d59aa1fdf
Update runtime files.
2020-09-19 18:50:13 +02:00
Bram Moolenaar
a187c43cfe
patch 8.2.1698: cannot lock a variable in legacy Vim script like in Vim9
...
Problem: Cannot lock a variable in legacy Vim script like in Vim9.
Solution: Make ":lockvar 0" work.
2020-09-16 21:08:28 +02:00
Bram Moolenaar
635414dd2f
patch 8.2.1665: cannot do fuzzy string matching
...
Problem: Cannot do fuzzy string matching.
Solution: Add matchfuzzy(). (Yegappan Lakshmanan, closes #6932 )
2020-09-11 22:25:15 +02:00
Bram Moolenaar
1c6737b20a
Update runtime files.
2020-09-07 22:18:52 +02:00
Bram Moolenaar
077cc7aa0e
patch 8.2.1588: cannot read back the prompt of a prompt buffer
...
Problem: Cannot read back the prompt of a prompt buffer.
Solution: Add prompt_getprompt(). (Ben Jackson, closes #6851 )
2020-09-04 16:35:35 +02:00
Bram Moolenaar
207f009326
Update runtime files.
2020-08-30 17:20:20 +02:00
Bram Moolenaar
0b39c3fd4c
patch 8.2.1544: cannot translate messages in a Vim script
...
Problem: Cannot translate messages in a Vim script.
Solution: Add gettext(). Try it out for a few messages in the options
window.
2020-08-30 15:52:10 +02:00
Bram Moolenaar
4e4473c927
patch 8.2.1536: cannot get the class of a character; emoji widths are wrong
...
Problem: Cannot get the class of a character; emoji widths are wrong in
some environments.
Solution: Add charclass(). Update some emoji widths. Add script to check
emoji widths.
2020-08-28 22:24:57 +02:00
Bram Moolenaar
08aac3c619
patch 8.2.1535: it is not possible to specify cell widths of characters
...
Problem: It is not possible to specify cell widths of characters.
Solution: Add setcellwidths().
2020-08-28 21:04:24 +02:00
Bram Moolenaar
6c53fca023
patch 8.2.1517: cannot easily get the character under the cursor
...
Problem: Cannot easily get the character under the cursor.
Solution: Add the {chars} argument to strpart().
2020-08-23 17:34:46 +02:00
Bram Moolenaar
021bda5671
patch 8.2.1473: items in a list given to :const can still be modified
...
Problem: Items in a list given to :const can still be modified.
Solution: Work like ":lockvar! name" but don't lock referenced items.
Make locking a blob work.
2020-08-17 21:07:22 +02:00
Bram Moolenaar
3d1cde8a2f
Update runtime files.
2020-08-15 18:55:18 +02:00
Bram Moolenaar
e3c37d8ebf
patch 8.2.1461: Vim9: string indexes are counted in bytes
...
Problem: Vim9: string indexes are counted in bytes.
Solution: Use character indexes. (closes #6574 )
2020-08-15 18:39:05 +02:00
Bram Moolenaar
62a232506d
patch 8.2.1401: cannot jump to the last used tabpage
...
Problem: Cannot jump to the last used tabpage.
Solution: Add g<Tab> and tabpagnr('#'). (Yegappan Lakshmanan, closes #6661 ,
neovim #11626 )
2020-08-09 14:04:42 +02:00
Bram Moolenaar
e7b1ea0276
Update runtime files.
2020-08-07 19:54:59 +02:00
Bram Moolenaar
aa970abd0a
patch 8.2.1354: test 59 is old style
...
Problem: Test 59 is old style.
Solution: Convert into a new style test. (Yegappan Lakshmanan, closes #6604 )
2020-08-02 16:10:39 +02:00
Bram Moolenaar
2547aa930b
Update runtime files.
2020-07-26 17:00:44 +02:00
Bram Moolenaar
d43906d2e5
patch 8.2.1255: cannot use a lambda with quickfix functions
...
Problem: Cannot use a lambda with quickfix functions.
Solution: Add support for lambda. (Yegappan Lakshmanan, closes #6499 )
2020-07-20 21:31:32 +02:00
Bram Moolenaar
6434fc574d
patch 8.2.1241: cannot use getbufinfo() as a method
...
Problem: Cannot use getbufinfo() as a method.
Solution: Support using getbufinfo() as a method. (closes #6458 )
2020-07-18 22:24:22 +02:00
Bram Moolenaar
7ff78465f7
Update runtime files
2020-07-10 22:00:53 +02:00
Bram Moolenaar
ae97b94176
patch 8.2.1166: once mouse move events are enabled getchar() returns them
...
Problem: Once mouse move events are enabled getchar() returns them.
Solution: Ignore K_MOUSEMOVE in getchar(). (closes #6424 )
2020-07-09 19:16:35 +02:00
Bram Moolenaar
e46a440505
Runtime file updates
2020-06-30 20:38:27 +02:00
Bram Moolenaar
73fef33014
Update runtime files
2020-06-21 22:12:03 +02:00
Bram Moolenaar
40a019f157
patch 8.2.0996: using "aucmdwin" in win_gettype() is not ideal
...
Problem: Using "aucmdwin" in win_gettype() is not ideal.
Solution: Rename to "autocmd".
2020-06-17 21:41:35 +02:00
Bram Moolenaar
0fe937fd86
patch 8.2.0991: cannot get window type for autocmd and preview window
...
Problem: Cannot get window type for autocmd and preview window.
Solution: Add types to win_gettype(). (Yegappan Lakshmanan, closes #6277 )
2020-06-16 22:42:04 +02:00
Bram Moolenaar
84cf6bd81b
patch 8.2.0988: getting directory contents is always case sorted
...
Problem: Getting directory contents is always case sorted.
Solution: Add sort options and v:collate. (Christian Brabandt, closes #6229 )
2020-06-16 20:03:43 +02:00
Bram Moolenaar
65e0d77a66
Update runtime files
2020-06-14 17:29:55 +02:00
Bram Moolenaar
0c0eddd3dd
patch 8.2.0970: terminal properties are not available in Vim script
...
Problem: Terminal properties are not available in Vim script.
Solution: Add the terminalprops() function.
2020-06-13 15:47:25 +02:00
Bram Moolenaar
152e79e94b
patch 8.2.0945: cannot use "z=" when 'spell' is off
...
Problem: Cannot use "z=" when 'spell' is off.
Solution: Make "z=" work even when 'spell' is off. (Christian Brabandt,
Gary Johnson, closes #6227 )
2020-06-10 15:32:08 +02:00
Bram Moolenaar
077a1e670a
patch 8.2.0935: flattening a list with existing code is slow
...
Problem: Flattening a list with existing code is slow.
Solution: Add flatten(). (Mopp, closes #3676 )
2020-06-08 20:50:43 +02:00
Bram Moolenaar
acc2240640
Update runtime files
2020-06-07 21:07:18 +02:00
Bram Moolenaar
1f1fd44ef7
patch 8.2.0925: getcompletion() does not return command line arguments
...
Problem: Getcompletion() does not return command line arguments.
Solution: Add the "cmdline" option. (Shougo, closes #1140 )
2020-06-07 18:45:14 +02:00
Bram Moolenaar
bb861e293e
patch 8.2.0924: cannot save and restore a register properly
...
Problem: Cannot save and restore a register properly.
Solution: Add getreginfo() and make setreg() accept a dictionary. (Andy
Massimino, closes #3370 )
2020-06-07 18:16:36 +02:00
Bram Moolenaar
adc17a5f9d
patch 8.2.0915: search() cannot skip over matches like searchpair() can
...
Problem: Search() cannot skip over matches like searchpair() can.
Solution: Add an optional "skip" argument. (Christian Brabandt, closes #861 )
2020-06-06 18:37:51 +02:00
Bram Moolenaar
ebacddbc16
patch 8.2.0897: list of functions in patched version is outdated
...
Problem: List of functions in patched version is outdated.
Solution: Update the function lists only.
2020-06-04 15:22:21 +02:00
Bram Moolenaar
fb517bac23
patch 8.2.0893: assert_equalfile() does not take a third argument
...
Problem: Assert_equalfile() does not take a third argument.
Solution: Implement the third argument. (Gary Johnson)
2020-06-03 19:55:35 +02:00
Bram Moolenaar
c17e66c5c0
patch 8.2.0886: cannot use octal numbers in scriptversion 4
...
Problem: Cannot use octal numbers in scriptversion 4.
Solution: Add the "0o" notation. (Ken Takata, closes #5304 )
2020-06-02 21:38:22 +02:00
Bram Moolenaar
85629985b7
patch 8.2.0878: no reduce() function
...
Problem: No reduce() function.
Solution: Add a reduce() function. (closes #5481 )
2020-06-01 18:39:20 +02:00
Bram Moolenaar
e8f5ec0d30
patch 8.2.0877: cannot get the search statistics
...
Problem: Cannot get the search statistics.
Solution: Add the searchcount() function. (Fujiwara Takuya, closes #4446 )
2020-06-01 17:28:35 +02:00
Bram Moolenaar
6c9ba04280
patch 8.2.0875: getting attributes for directory entries is slow
...
Problem: Getting attributes for directory entries is slow.
Solution: Add readdirex(). (Ken Takata, closes #5619 )
2020-06-01 16:09:41 +02:00
Bram Moolenaar
f17e7ea67a
patch 8.2.0871: cannot use getmarklist() as a method
...
Problem: Cannot use getmarklist() as a method.
Solution: Make getmarklist() work as a method. Add one to the column
number to match getpos(). (Yegappan Lakshmanan, closes #6176 )
2020-06-01 14:14:44 +02:00
Bram Moolenaar
858ba06d5f
patch 8.2.0869: it is not possible to customize the quickfix window contents
...
Problem: It is not possible to customize the quickfix window contents.
Solution: Add 'quickfixtextfunc'. (Yegappan Lakshmanan, closes #5465 )
2020-05-31 23:11:59 +02:00
Bram Moolenaar
2245ae18e3
patch 8.2.0868: trim() always trims both ends
...
Problem: trim() always trims both ends.
Solution: Add an argument to only trim the beginning or end. (Yegappan
Lakshmanan, closes #6126 )
2020-05-31 22:20:36 +02:00
Bram Moolenaar
fccd93f091
patch 8.2.0867: using \{xxx} for encoding a modifier is not nice
...
Problem: Using \{xxx} for encoding a modifier is not nice.
Solution: Use \<*xxx> instead, since it's the same as \<xxx> but producing a
different code.
2020-05-31 22:06:51 +02:00
Bram Moolenaar
cfb4b47de0
patch 8.2.0861: cannot easily get all the current marks
...
Problem: Cannot easily get all the current marks.
Solution: Add getmarklist(). (Yegappan Lakshmanan, closes #6032 )
2020-05-31 15:41:57 +02:00
Bram Moolenaar
ebe9d34aa0
patch 8.2.0855: GUI tests fail because the test doesn't use a modifier
...
Problem: GUI tests fail because the test doesn't use a modifier.
Solution: Add "\{xxx}" to be able to encode a modifier.
2020-05-30 21:52:54 +02:00
Bram Moolenaar
95da136142
patch 8.2.0850: MS-Windows: exepath() works different from cmd.exe
...
Problem: MS-Windows: exepath() works different from cmd.exe.
Solution: Make exepath() work better on MS-Windows. (closes #6115 )
2020-05-30 18:37:55 +02:00
Bram Moolenaar
388a5d4f20
Update runtime files
2020-05-26 21:20:45 +02:00
Bram Moolenaar
9c65253fe7
patch 8.2.0815: maparg() does not provide enough information for mapset()
...
Problem: maparg() does not provide enough information for mapset().
Solution: Add "lhsraw" and "lhsrawalt" items. Drop "simplified"
2020-05-24 13:10:18 +02:00