Michael Ennen
7f4848aff4
vim-patch:7.4.2090
...
Problem: Using submatch() in a lambda passed to substitute() is verbose.
Solution: Use a static list and pass it as an optional argument to the
function. Fix memory leak.
df48fb456f
2017-02-14 17:38:17 -07:00
Michael Ennen
bb7d0deb2f
vim-patch:7.4.2044
...
Problem: filter() and map() either require a string or defining a function.
Solution: Support lambda, a short way to define a function that evaluates an
expression. (Yasuhiro Matsumoto, Ken Takata)
069c1e7fa9
2017-02-14 17:38:16 -07:00
Michael Ennen
bb2afeb026
vim-patch:7.4.1989
...
Problem: filter() and map() only accept a string argument.
Solution: Implement using a Funcref argument (Yasuhiro Matsumoto, Ken
Takata)
b33c7eb5b8
2017-02-14 17:38:16 -07:00
Michael Ennen
b0fc6108c9
vim-patch:7.4.1727
...
Problem: Cannot detect a crash in tests when caused by garbagecollect().
Solution: Add garbagecollect_for_testing(). Do not free a job if is still
useful.
ebf7dfa6f1
2017-02-14 17:38:15 -07:00
Nikolai Aleksandrovich Pavlov
abdbfd26bc
eval: Add id() function and make printf("%p") return something useful ( #6095 )
2017-02-11 19:47:02 +01:00
Manuel
3aa8795469
doc: Fix section reference ( #6079 )
2017-02-08 18:09:27 +01:00
Justin M. Keyes
224f99b85d
win: Append process dir to $PATH
...
This allows executables to be found by :!, system(), and executable() if
they live next to ("sibling" to) nvim.exe. This is what gvim on Windows
does, and also matches the behavior of Win32 SearchPath().
c4a249a736/src/os_win32.c (L354-L370)
2017-02-04 11:07:49 +01:00
James McCoy
8c09dbf082
vim-patch:063b9d1
...
Updated runtime files.
063b9d15ab
2017-02-01 18:35:12 -05:00
James McCoy
a5b875fe86
vim-patch:e18dbe8
...
Updated runtime files.
e18dbe865d
2017-02-01 18:34:58 -05:00
James McCoy
4e47568f89
vim-patch:802a0d9
...
Updated runtime files.
802a0d902f
2017-02-01 18:34:57 -05:00
James McCoy
cb0eead4ee
vim-patch:a02a551
...
Updated runtime files.
a02a551e18
2017-02-01 18:34:52 -05:00
Justin M. Keyes
81525dc5c3
defaults: Revert 'mouse=a' ( #6022 )
...
This default causes too much confusion for terminal users. Until
a better approach is implemented, revert to the traditional default.
Better solution would be:
- Implement a right-click menu for TUI
- Set 'mouse=a' *only* if clipboard is working.
Closes #5938
2017-01-28 14:30:57 +01:00
Justin M. Keyes
73da522d73
errors: Introduce "E856: Filename too long"
2017-01-23 15:49:37 +01:00
Justin M. Keyes
be4c896845
DirChanged: set <amatch> ( #5961 )
...
Also:
- test that DirChanged is not recursive
- fix 'not trigger if :cd fails' test on Windows
2017-01-17 10:47:20 +01:00
Marco Hinz
340f79b4b8
Merge #5928 'New event: DirChanged'
2017-01-16 13:36:16 +01:00
Justin M. Keyes
3ba5e43d2e
Merge #5918 'vim-patch: 7.4.2006, 7.4.2075, 7.4.2077, 7.4.2117, 7.4.2300, 7.4.2313, 7.4.2314'.
2017-01-16 00:59:50 +01:00
Marco Hinz
20867e6319
Document DirChanged
2017-01-13 15:30:01 +01:00
Rui Abreu Ferreira
a05ebf4a2d
Windows: libuv_process_spawn(): Allow libuv argument quoting/escaping.
...
Closes #5360
References #3305
Reverts commit dc9652e68d
.
Disabling the quoting was does not solve the problem in general, and
we would end up having to handle the quoting ourselves.
See: https://github.com/JuliaLang/julia/issues/13776
2017-01-10 23:34:04 +01:00
James McCoy
6520517e22
vim-patch:7.4.2008
...
Problem: evalcmd() has a confusing name.
Solution: Rename to execute(). Make silent optional. Support a list of
commands.
79815f1ec7
2017-01-10 07:14:12 -05:00
James McCoy
8f32c04df4
vim-patch:c95a302
...
Updated runtime files.
c95a302a4c
2017-01-09 20:24:08 -05:00
James McCoy
492f2cfeff
vim-patch:7.4.1925
...
Problem: Viminfo does not merge file marks properly.
Solution: Use a timestamp. Add the :clearjumps command.
2d35899721
2017-01-09 20:23:41 -05:00
James McCoy
282109c51b
vim-patch:82af871
...
Updated runtime files.
82af8710bf
2017-01-09 20:23:41 -05:00
James McCoy
60e306368d
vim-patch:aa3b15d
...
Updated runtime files.
aa3b15dbeb
2017-01-09 20:23:41 -05:00
rover
f5d06c52a2
vim-patch:7.4.2077
...
Problem: Cannot update 'tabline' when a tab was closed.
Solution: Add the TabClosed autocmd event. (partly by Felipe Morales)
12c11d5530
2017-01-08 23:16:39 +08:00
rover
c2344f3d31
vim-patch:7.4.2075
...
Problem: No autocommand event to initialize a window or tab page.
Solution: Add WinNew and TabNew events. (partly by Felipe Morales)
c917da4b3e
2017-01-08 22:46:08 +08:00
lonerover
bef645e5e4
vim-patch:7.4.2103
...
Problem: Can't have "augroup END" right after ":au!".
Solution: Check for the bar character before the command argument.
e99e84497b
2017-01-05 13:33:56 +08:00
ZyX
a934144e04
doc: Document that character constants are supported
2017-01-04 14:52:13 +03:00
Justin M. Keyes
6f9be2464c
Merge #5872 justinmk/test_autochdir
2017-01-04 08:24:36 +01:00
Justin M. Keyes
e43f7425ee
refactor: Remove VimL function test()
...
vim-patch:7.4.1838
2017-01-04 07:23:13 +01:00
Justin M. Keyes
097c8dccca
refactor: Remove VimL function test_autochdir()
...
- Eliminate global test_autochdir.
- Eliminate VimL function test_autochdir()
- Use a lua test instead. Fails correctly after reverting
0c43479979
/ vim-patch:7.4.2015.
2017-01-04 07:23:13 +01:00
Tommy Allen
fd9cc8b0b2
automation: Generate API documentation ( #5798 )
...
runtime: Add underscore to {} helpSpecial syntax pattern
docs: Added generated api-funcs.txt
2017-01-03 13:11:19 +01:00
Shougo Matsushita
6ba3b85382
vim-patch:6f1d9a
...
Updated runtime files.
6f1d9a096b
2017-01-02 10:45:10 +09:00
James McCoy
fe03ce23bf
vim-patch:7.4.2273
...
Problem: getwininfo() and getbufinfo() are inefficient.
Solution: Do not make a copy of all window/buffer-local options. Make it
possible to get them with gettabwinvar() or getbufvar().
3056735ae8
2016-12-28 14:57:39 -05:00
James McCoy
c4c894b2fa
vim-patch:7.4.2226
...
Problem: The field names used by getbufinfo(), gettabinfo() and
getwininfo() are not consistent.
Solution: Use bufnr, winnr and tabnr. (Yegappan Lakshmanan)
3392883770
2016-12-28 14:57:39 -05:00
James McCoy
4453aa0d29
vim-patch:7.4.2215
...
Problem: It's not easy to find out if a window is a quickfix or location
list window.
Solution: Add "loclist" and "quickfix" entries to the dict returnec by
getwininfo(). (Yegappan Lakshmanan)
386600f0cb
2016-12-28 14:57:38 -05:00
James McCoy
6205846cd9
vim-patch:0952131
...
Updated runtime files.
0952131376
2016-12-28 14:57:38 -05:00
James McCoy
0046641070
vim-patch:7.4.2204
...
Problem: It is not easy to get information about buffers, windows and
tabpages.
Solution: Add getbufinfo(), getwininfo() and gettabinfo(). (Yegappan
Lakshmanan)
b5ae48e9ff
2016-12-28 14:57:38 -05:00
Chris Lucas
99a8cd3be0
vim-patch:7.4.2201
...
Problem: The sign column disappears when the last sign is deleted.
Solution: Add the 'signcolumn' option. (Christian Brabandt)
95ec9d6a6a
2016-12-28 14:57:38 -05:00
Anmol Sethi
c72f4d4d05
man.vim: revert "completion now respects 'wildignorecase'" ( #5839 )
...
Instead, a note was added to `:h man.vim` on how 'fileignorecase'
controls the case sensitivity of completion.
2016-12-27 19:01:04 -05:00
James McCoy
2c59277ca8
vim-patch:7.4.2010
...
Problem: There is a :cbottom command but no :lbottom command.
Solution: Add :lbottom. (Yegappan Lakshmanan)
537ef08408
2016-12-27 14:10:28 -05:00
James McCoy
f224f3fbf1
vim-patch:7.4.1997
...
Problem: Cannot easily scroll the quickfix window.
Solution: Add ":cbottom".
dcb1700186
2016-12-27 14:10:27 -05:00
Justin M. Keyes
b29c5dd384
doc: job_control.txt
...
References #5529
2016-12-14 20:52:18 +01:00
Michael Ennen
5e4eb18eb0
Add some tests and cleanup.
2016-12-12 10:17:35 -05:00
Michael Ennen
a21c687661
Fixes.
2016-12-12 10:17:35 -05:00
Michael Ennen
2c4e92abea
vim-patch:7.4.1731 Mark as NA
...
Leave a note in vim_diff.txt about it.
2016-12-12 10:17:35 -05:00
Michael Ennen
c52856af2c
vim-patch:7.4.1842
...
Problem: get() works for Partial but not for Funcref.
Solution: Accept Funcref. Also return the function itself. (Nikolai Pavlov)
03e19a04ac
2016-12-12 10:17:35 -05:00
Michael Ennen
02c58d8a07
vim-patch:7.4.1839
...
Problem: Cannot get the items stored in a partial.
Solution: Support using get() on a partial.
2bbf8eff6f
2016-12-12 10:17:35 -05:00
Michael Ennen
c82dc7a6fd
vim-patch:7.4.1836
...
Problem: When using a partial on a dictionary it always gets bound to that
dictionary.
Solution: Make a difference between binding a function to a dictionary
explicitly or automatically.
1d429610bf
2016-12-12 10:17:35 -05:00
Michael Ennen
521e45f2a8
vim-patch:7.4.1559
...
Problem: Passing cookie to a callback is clumsy.
Solution: Change function() to take arguments and return a partial.
1735bc988c
2016-12-12 10:17:34 -05:00
Justin M. Keyes
29e651515f
Merge #5752 from justinmk/doc
...
doc: api_info(), typval_encode.h
2016-12-11 02:04:33 +01:00