Jan Edmund Lazo
062576f679
vim-patch:8.2.0047: cannot skip tests for specific MS-Windows platform ( #13461 )
...
Problem: Cannot skip tests for specific MS-Windows platform.
Solution: Add windowsversion().
0c1e3744ff
2020-12-11 19:45:22 -05:00
Jan Edmund Lazo
ede747c2cc
vim-patch:8.2.0257: cannot recognize a terminal in a popup window
...
Problem: Cannot recognize a terminal in a popup window.
Solution: Add the win_gettype() function.
00f3b4e007
2020-11-25 02:10:44 -05:00
Alex Genco
ed0a70087a
vim-patch:8.1.1056: no eval function for Ruby
...
Problem: No eval function for Ruby.
Solution: Add rubyeval(). (Ozaki Kiichi, closes vim/vim#4152 )
e99be0e6d2
2020-10-21 10:20:21 -07:00
skippi
8c9d9fa304
vim-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 vim/vim#6126 )
2245ae18e3
2020-10-17 14:07:35 -05:00
Jacques Germishuys
9bef25314e
support for :perl, :perlfile, :perldo and perleval()
2020-08-30 17:19:05 +01:00
Jan Edmund Lazo
107e50b25e
vim-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().
6c53fca023
2020-08-23 18:32:39 -04:00
Jan Edmund Lazo
0680b5218e
vim-patch:8.1.2341: not so easy to interrupt a script programatically
...
Problem: Not so easy to interrupt a script programatically.
Solution: Add the interrupt() function. (Yasuhiro Matsumoto, closes vim/vim#2834 )
67a2deb9cb
2020-08-14 18:20:28 -04:00
Matthieu Coudron
459800db43
Merge pull request #12575 from cbarrete/vim-8.2.0935
...
[RFC] vim-patch:8.2.{0935,0937}
2020-07-20 22:04:30 +02:00
Jan Edmund Lazo
93f2dc0d03
vim-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)
fb517bac23
2020-07-19 11:40:34 -04:00
Cédric Barreteau
6420615e3f
vim-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 vim/vim#3676 )
077a1e670a
2020-07-15 20:27:20 +02:00
Shougo
d7d69fed18
vim-patch:8.1.1084: cannot delete a match from another window ( #12325 )
...
Problem: Cannot delete a match from another window. (Paul Jolly)
Solution: Add window ID argument to matchdelete(), clearmatches(),
getmatches() and setmatches(). (Andy Massimino, closes vim/vim#4178 )
aff749145e
2020-05-16 15:25:51 +02:00
Hennadii Chernyshchyk
d2766b06c8
vim-patch:8.1.1120: cannot easily get directory entry matches #12222
...
Problem: Cannot easily get directory entry matches.
Solution: Add the readdir() function. (Yasuhiro Matsumoto, closes vim/vim#2439 )
543c9b1921
closes #12212
2020-05-05 08:15:45 -07:00
Jan Edmund Lazo
eba8a9ca1d
vim-patch:8.1.1510: a plugin cannot easily expand a command like done internally
...
Problem: A plugin cannot easily expand a command like done internally.
Solution: Add the expandcmd() function. (Yegappan Lakshmanan, closes vim/vim#4514 )
80dad48c50
2020-03-01 03:57:58 -05:00
Jan Edmund Lazo
7ed4837298
vim-patch:8.1.1122: char2nr() does not handle composing characters
...
Problem: char2nr() does not handle composing characters.
Solution: Add str2list() and list2str(). (Ozaki Kiichi, closes vim/vim#4190 )
9d40128afd
'utf8' optional param is noop unlike Vim.
2020-02-20 23:39:17 -05:00
erw7
aec3d7915c
vim-patch:8.1.0091: MS-Windows: Cannot interrupt gdb when program is running
...
Problem: MS-Windows: Cannot interrupt gdb when program is running.
Solution: Add debugbreak() and use it in the terminal debugger.
Respect 'modified' in a prompt buffer.
4551c0a9fc
2020-02-12 16:03:45 +09:00
erw7
fe395ae210
vim-patch:8.1.0069: cannot handle pressing CTRL-C in a prompt buffer
...
Problem: Cannot handle pressing CTRL-C in a prompt buffer.
Solution: Add prompt_setinterrupt().
0e5979a6d4
2020-02-12 15:30:06 +09:00
erw7
4813ad48cd
vim-patch:8.1.0027: difficult to make a plugin that feeds a line to a job
...
Problem: Difficult to make a plugin that feeds a line to a job.
Solution: Add the nitial code for the "prompt" buftype.
f273245f64
2020-02-12 15:16:32 +09:00
Seth Fowler
251b20e533
Add support for the pum_getpos() API ( #11562 )
...
Add support for the pum_getpos() API
2019-12-16 20:08:55 +01:00
Jan Edmund Lazo
b3e56957f8
vim-patch:8.1.0460: assert_fails() message argument #11051
...
Problem: assert_fails() does not take a message argument
Solution: Add the argument.
1307d1c003
2019-09-21 14:03:46 -07:00
Jan Edmund Lazo
792c290343
vim-patch:8.0.1523: cannot write and read terminal screendumps
...
Problem: Cannot write and read terminal screendumps.
Solution: Add term_dumpwrite(), term_dumpread() and term_dumpdiff().
Also add assert_equalfile().
d96ff16511
2019-09-16 21:36:46 -04:00
Björn Linse
d5162afa2a
anchor float to buffer position
...
vim-patch:8.1.1645: cannot use a popup window for a balloon
2019-09-04 23:57:02 +02:00
Abdelhakeem
7844501c2b
eval: add wait()
...
closes #10362
2019-09-01 21:17:14 +02:00
Daniel Hahler
e3e0574cb3
Merge pull request #10841 from janlazo/vim-7.4.1407
...
vim-patch:7.4.1407,8.1.1111
2019-08-25 21:04:17 +02:00
Jan Edmund Lazo
66c06dad62
vim-patch:8.1.1924: using empty string for current buffer is unexpected
...
Problem: Using empty string for current buffer is unexpected.
Solution: Make the argument optional for bufname() and bufnr().
a8eee21e75
2019-08-24 21:18:15 -04:00
Jan Edmund Lazo
1dc088ea7d
vim-patch:8.1.1111: it is not easy to check for infinity
...
Problem: It is not easy to check for infinity.
Solution: Add isinf(). (Ozaki Kiichi, closes vim/vim#3787 )
fda1bff39f
2019-08-24 17:02:05 -04:00
Jan Edmund Lazo
01b5499eea
vim-patch:7.4.1407
...
Problem: json_encode() does not handle NaN and inf properly. (David
Barnett)
Solution: For JSON turn them into "null". For JS use "NaN" and "Infinity".
Add isnan().
f1b6ac7229
2019-08-24 15:56:17 -04:00
Jan Edmund Lazo
9358979d09
vim-patch:8.1.0037: cannot easily append lines to another buffer
...
Problem: Cannot easily append lines to another buffer.
Solution: Add appendbufline().
ca851593a6
2019-08-23 07:46:51 -04:00
Daniel Hahler
fd66ad2262
vim-patch:8.1.1305: there is no easy way to manipulate environment variables
...
Problem: There is no easy way to manipulate environment variables.
Solution: Add environ(), getenv() and setenv(). (Yasuhiro Matsumoto,
closes vim/vim#2875 )
691ddeefb5
2019-08-06 01:17:32 +02:00
Abdelhakeem
691deca2e8
eval: context: add ctx-family functions
2019-07-27 16:36:56 +02:00
Shougo Matsushita
3f6346b732
vim-patch:8.1.1610: there is no way to add or load a buffer without side effects
...
Problem: There is no way to add or load a buffer without side effects.
Solution: Add the bufadd() and bufload() functions.
15e248e37f
2019-07-06 17:09:56 +09:00
Justin M. Keyes
79450f2da9
Merge #10250 from blueyed/vim-8.0.1039
...
vim-patch:8.0.{10{39,53,55},1274}: cannot change a line in not current buffer
2019-06-25 02:36:07 +02:00
erw7
3f48b3a92f
Update argc(),argv() based on 8.1.0493
2019-06-19 01:36:01 -04:00
Daniel Hahler
9485061baa
vim-patch:8.0.1039: cannot change a line in not current buffer
...
Problem: Cannot change a line in a buffer other than the current one.
Solution: Add setbufline(). (Yasuhiro Matsumoto, Ozaki Kiichi, closes vim/vim#1953 )
b31cf2bb0b
2019-06-17 23:43:26 +02:00
Jan Edmund Lazo
21f160746a
vim-patch:8.1.0020: cannot tell whether a register is executing or recording
...
Problem: Cannot tell whether a register is being used for executing or
recording.
Solution: Add reg_executing() and reg_recording(). (Hirohito Higashi,
closes vim/vim#2745 ) Rename the global variables for consistency. Store
the register name in reg_executing.
0b6d911e5d
2019-05-26 20:24:11 -04:00
Andrej Zieger
237cecd81b
vim-patch:8.1.0039: cannot easily delete lines in another buffer
...
Problem: Cannot easily delete lines in another buffer.
Solution: Add deletebufline().
d79a26219d
2019-05-26 19:32:32 +02:00
Andrej Zieger
fa07cc215d
vim-patch:8.1.0717: there is no function for the ":sign jump" command
...
Problem: There is no function for the ":sign jump" command.
Solution: Add the sign_jump() function. (Yegappan Lakshmanan, closes vim/vim#3780 )
6b7b7190aa
2019-05-26 19:32:32 +02:00
Andrej Zieger
fb9abd7d99
vim-patch:8.1.0614: placing signs can be complicated
...
Problem: Placing signs can be complicated.
Solution: Add functions for defining and placing signs. Introduce a group
name to avoid different plugins using the same signs. (Yegappan
Lakshmanan, closes vim/vim#3652 )
162b71479b
2019-05-26 19:32:31 +02:00
Jan Edmund Lazo
f60af8694b
vim-patch:8.1.0307: there is no good way to get the window layout
...
Problem: There is no good way to get the window layout.
Solution: Add the winlayout() function. (Yegappan Lakshmanan)
0f6b4f06de
2019-05-26 07:27:50 -04:00
Jan Edmund Lazo
783aa6b507
vim-patch:8.0.1514: getting the list of changes is not easy
...
Problem: Getting the list of changes is not easy.
Solution: Add the getchangelist() function. (Yegappan Lakshmanan,
closes vim/vim#2634 )
07ad816525
2019-05-20 13:33:59 -04:00
Jan Edmund Lazo
41828a7302
vim-patch:8.0.1497: getting the jump list requires parsing the output of :jumps
...
Problem: Getting the jump list requires parsing the output of :jumps.
Solution: Add getjumplist(). (Yegappan Lakshmanan, closes vim/vim#2609 )
4f50588ba3
2019-05-19 23:15:47 -04:00
Justin M. Keyes
e22c475156
Merge #9951 'vim-patch:8.1.0519: save/restore tag stack'
2019-04-30 23:41:34 +02:00
Justin M. Keyes
04f0bc97b7
vim-patch:8.1.0401: can't get swap name of another buffer
...
Problem: Can't get swap name of another buffer.
Solution: Add swapname(). (Ozaki Kiichi, closes vim/vim#3441 )
110bd60985
2019-04-29 21:19:45 +02:00
Justin M. Keyes
24b7462b3c
vim-patch:8.1.0313: information about a swap file is unavailable
...
Problem: Information about a swap file is unavailable.
Solution: Add swapinfo(). (Enzo Ferber)
00f123a565
2019-04-29 19:55:42 +02:00
Jan Edmund Lazo
a0d723db55
vim-patch:8.0.1563: getwinposx() timeout #9955
...
Problem: Timeout of getwinposx() can be too short. (lilydjwg)
Solution: Add getwinpos(). (closes vim/vim#2689 )
3f54fd319f
2019-04-29 11:53:44 +02:00
rolag
924dd6f14a
vim-patch:8.1.0519: cannot save and restore the tag stack
...
Problem: Cannot save and restore the tag stack.
Solution: Add gettagstack() and settagstack(). (Yegappan Lakshmanan,
closes vim/vim#3604 )
f49cc60aa8
2019-04-28 11:37:19 +01:00
Jan Edmund Lazo
9d77a07686
vim-patch:8.0.1510: cannot assert beep #9938
...
Problem: Cannot test if a command causes a beep.
Solution: Add assert_beeps().
b48e96f61c
2019-04-25 14:31:33 +02:00
Shougo Matsushita
2d63b6d2c1
vim-patch:8.1.1068: cannot get all the information about current completion
...
Problem: Cannot get all the information about current completion.
Solution: Add complete_info(). (Shougo, Hirohito Higashi, closes vim/vim#4106 )
fd133323d4
2019-03-30 22:24:35 +09:00
David Jimenez
8f288698e4
vim-patch:8.0.0251: not easy to select Python 2 or 3 ( #9173 )
...
Problem: It is not so easy to write a script that works with both Python 2 and Python 3, even when the Python code works with both.
Solution: Add 'pyxversion', :pyx, etc. (Marc Weber, Ken Takata)
f42dd3c390
2019-01-02 14:51:03 +01:00
Daniel Hahler
d3c90cbbb4
vim-patch:8.0.1557: printf() does not work with only one argument ( #9038 )
...
Problem: printf() does not work with only one argument. (Daniel Hahler)
Solution: Allow using just the format. (Ken Takata, closes vim/vim#2687 )
c71807db9c
2018-09-23 17:15:17 +02:00
Jan Edmund Lazo
b89c08901c
vim-patch:8.0.1364: there is no easy way to get the window position
...
Problem: There is no easy way to get the window position.
Solution: Add win_screenpos().
22044dc317
2018-08-15 12:20:46 -04:00