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
Justin M. Keyes
5ae57b7e57
health.vim: check shada file #10327
...
closes #1202
2019-06-25 01:31:41 +02:00
James McCoy
8c7e41f596
[RFC] vim-patch:8.1.1365,8.1.1366,8.1.1367,8.1.1368,8.1.1382,8… ( #10309 )
...
[RFC] vim-patch:8.1.1365,8.1.1366,8.1.1367,8.1.1368,8.1.1382,8.1.1401
2019-06-24 12:08:57 -04:00
Justin M. Keyes
f2e3849100
Merge #10313 from rhysd/const-patches
...
vim-patch:8.1.1539,8.1.1543,8.1.1554 for :const from Vim
2019-06-24 14:27:31 +02:00
James McCoy
280938d932
vim-patch:8.1.1401: misspelled mkspellmem as makespellmem
...
Problem: Misspelled mkspellmem as makespellmem.
Solution: Drop duplicate help entry, fix test. (Naruhiko Nishino, Ken
Takata, closes vim/vim#4437 )
https://github.com/vim/vim/commit/076073950c44ea0e35bc39d539dc7ab41bf9c7ec
2019-06-24 06:46:01 -04:00
James McCoy
1e4673d167
vim-patch:8.1.1366: using expressions in a modeline is unsafe
...
Problem: Using expressions in a modeline is unsafe.
Solution: Disallow using expressions in a modeline, unless the
'modelineexpr' option is set. Update help, add more tests.
https://github.com/vim/vim/commit/110289e78195b6d01e1e6ad26ad450de476d41c1
2019-06-24 06:45:55 -04:00
rhysd
3d5a800278
vim-patch:8.1.1554: docs and tests for :const can be improved
...
Problem: Docs and tests for :const can be improved.
Solution: Improve documentation, add a few more tests. (Ryuichi Hayashida,
closes vim/vim#4551 )
https://github.com/vim/vim/commit/1c196e7b1742c1a50ce0d74190721acaad087f81
2019-06-24 09:31:30 +09:00
rhysd
1c90c19f62
vim-patch:8.1.1539: not easy to define a variable and lock it
...
Problem: Not easy to define a variable and lock it.
Solution: Add ":const".
https://github.com/vim/vim/commit/9937a055437ef67b57a1bdec8f0799b669c9dbf0
2019-06-24 09:30:51 +09:00
Jan Edmund Lazo
3a49fa8f8b
vim-patch:8.1.0169: calling message_filtered() a bit too often
...
Problem: Calling message_filtered() a bit too often.
Solution: Only call message_filtered() when filtering is already false.
https://github.com/vim/vim/commit/a9defadb8f03ecd03f3297305d5482ba380774dc
2019-06-23 18:17:09 -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 )
https://github.com/vim/vim/commit/b31cf2bb0be95d106bd8eef93cc07550591c1d0d
2019-06-17 23:43:26 +02:00
Daniel Hahler
d32b92e265
vim-patch:8.0.1845: various comment updates needed, missing white space ( #10203 )
...
Problem: Various comment updates needed, missing white space.
Solution: Update comments, add white space.
https://github.com/vim/vim/commit/259f26ac2d41ecfb28b82c651b2bfc1edc7c3e29
Ignored (partly) applied patch for src/nvim/po/it.po.
2019-06-16 19:49:23 +02:00
Björn Linse
41f31ca90d
messages: support shortmess-=S in ext_messages
2019-06-16 11:07:29 +02:00
Jan Edmund Lazo
e6a1bea1eb
vim-patch:8.0.0931: getwininfo() does not indicate a terminal window
...
Problem: getwininfo() does not indicate a terminal window.
Solution: Add "terminal" to the dictionary.
https://github.com/vim/vim/commit/69905d108be4af86c2d2a9224e2c588723276dc9
2019-06-13 19:39:55 -04:00
Daniel Hahler
66613ace48
vim-patch:8.0.1704: 'backupskip' default doesn't work for Mac
...
Problem: 'backupskip' default doesn't work for Mac.
Solution: Use "/private/tmp". (Rainer Müller, closes vim/vim#2793 )
https://github.com/vim/vim/commit/b8e22a053b68774dfd86fd829d9dba2333f09c05
2019-06-13 00:28:16 +02:00
Justin M. Keyes
04e2ba85b1
doc [ci skip] #10129
...
- document lua vim.loop #10123
2019-06-10 15:53:42 +02:00
Jan Edmund Lazo
3e58e60568
vim-patch:8.0.1278: Add the "k" flag in 'guioptions' #10175
...
Problem: GUI window always resizes when adding/removing a scrollbar,
toolbar, etc.
Solution: Add the 'k' flag in 'guioptions' to keep the GUI window size and
change the number of lines/columns instead. (Ychin, closes vim/vim#703 )
https://github.com/vim/vim/commit/8ac441576fd219fb7227349e228d5b68520b204a
2019-06-10 12:18:59 +02:00
Jan Edmund Lazo
0b4c53fc23
vim-patch:8.0.1305: writefile() never calls fsync() #10153
...
Problem: Writefile() never calls fsync().
Solution: Follow the 'fsync' option with override to enable or disable.
https://github.com/vim/vim/commit/7567d0b115e332f61a9f390aaccdf7825b891227
2019-06-09 00:12:28 +02:00
Justin M. Keyes
bb24fec333
defaults: exclude "S" from 'shortmess' #10136
...
ref #6289
2019-06-07 23:11:28 +02:00
Justin M. Keyes
f6f9e4a231
Merge #10114 from erw7/vim-8.1.1270
...
vim-patch:8.1.{0629,1270,1271,1283,1288,1289,1350,1375,1390,1475}
2019-06-07 21:28:53 +02:00
Björn Linse
b684bd05b5
lua: docs and tests for vim.schedule
2019-06-05 10:46:22 +02:00
erw7
777c2a25ce
vim-patch:8.1.1270: cannot see current match position
...
Problem: Cannot see current match position.
Solution: Show "3/44" when using the "n" command and "S" is not in
'shortmess'. (Christian Brabandt, closes vim/vim#4317 )
https://github.com/vim/vim/commit/9dfa3139198b38b28673e251a3756430065914e9
2019-06-05 09:54:52 +09:00
Björn Linse
f5c56f03bb
api: allow nvim_buf_attach from lua using callbacks
2019-06-04 13:45:20 +02:00
Justin M. Keyes
8a33cb32ba
Merge #10086 'vim-patch:8.1.{902,1114}'
2019-06-02 23:32:28 +02:00
Justin M. Keyes
ed24a297e5
doc [ci skip] #10097
...
- fix broken links (|buffered| was renamed to |channel-buffered|)
- rewrite `:h channel-lines`
2019-06-01 20:14:29 +02:00
erw7
bfc44a91ac
vim-patch:8.1.1114: confusing overloaded operator "." for string concatenation
...
Problem: Confusing overloaded operator "." for string concatenation.
Solution: Add ".." for string concatenation. Also "let a ..= b".
https://github.com/vim/vim/commit/0f248b006c2574abc00c9aa7886d8f33620eb822
2019-05-29 12:54:42 +09:00
erw7
d46aaa0746
vim-patch:8.1.0902: incomplete set of assignment operators
...
Problem: Incomplete set of assignment operators.
Solution: Add /=, *= and %=. (Ozaki Kiichi, closes vim/vim#3931 )
https://github.com/vim/vim/commit/ff697e6cef8ced7717a21fd525ab3200b2f1724f
2019-05-29 12:05:56 +09: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.
https://github.com/vim/vim/commit/0b6d911e5de1a1c10a23d4c2ee1b0275c474a2dd
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().
https://github.com/vim/vim/commit/d79a26219d7161e9211fd144f0e874aa5f6d251e
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 )
https://github.com/vim/vim/commit/6b7b7190aa9e5c4f51bceaebf9275aa5097cfea1
2019-05-26 19:32:32 +02:00
Andrej Zieger
f43900f686
vim-patch:8.1.0702: ":sign place" only uses the current buffer
...
Problem: ":sign place" only uses the current buffer.
Solution: List signs for all buffers when there is no buffer argument.
Fix error message for invalid buffer name in sign_place().
(Yegappan Lakshmanan, closes vim/vim#3774 )
https://github.com/vim/vim/commit/b589f95b38ddd779d7e696abb0ea011dc92ea903
2019-05-26 19:32:32 +02:00
Andrej Zieger
e70609cfac
vim-patch:8.1.0697: ":sign place" requires the buffer argument
...
Problem: ":sign place" requires the buffer argument.
Solution: Make the argument optional. Also update the help and clean up the
sign test. (Yegappan Lakshmanan, closes vim/vim#3767 )
https://github.com/vim/vim/commit/b328cca2548936c5f68fff683049a929882f5011
2019-05-26 19:32:32 +02:00
Andrej Zieger
09c236ba5c
vim-patch:8.1.0658: deleting signs and completion for :sign is insufficient
...
Problem: Deleting signs and completion for :sign is insufficient.
Solution: Add deleting signs in a specified or any group from the current
cursor location. Add group and priority to sign command
completion. Add tests for different sign unplace commands. Update
help text. Add tests for sign jump with group. Update help for
sign jump. (Yegappan Lakshmanan, closes vim/vim#3731 )
https://github.com/vim/vim/commit/7d83bf4f2b785b46d87c7bc376fc9d0a862af782
2019-05-26 19:32:31 +02:00
Andrej Zieger
3ee55edd2e
vim-patch:8.1.0644: finding next sign ID is inefficient
...
Problem: Finding next sign ID is inefficient.
Solution: Add next_sign_id. (Yegappan Lakshmanan, closes vim/vim#3717 )
https://github.com/vim/vim/commit/6436cd83f90a0efc326798792e49e8ff96a43dce
2019-05-26 19:32:31 +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 )
https://github.com/vim/vim/commit/162b71479bd4dcdb3a2ef9198a1444f6f99e6843
2019-05-26 19:32:31 +02:00
Björn Linse
aabda31d54
Merge pull request #9547 from bfredl/rpc_multiline_err
...
messages: use proper multiline errors for rpcrequest and API wrappers
2019-05-26 18:11:49 +02:00
Justin M. Keyes
2b4c0181ba
Merge #10064 from janlazo/vim-8.1.0211
...
vim-patch:8.1.{211,307}
2019-05-26 16:33:10 +02:00
KillTheMule
52215f5752
doc/API: document indexing behavior #10058
...
close #10058
2019-05-26 16:15:20 +02:00
Björn Linse
8ed54bbec3
messages: use proper multiline error message for rpcrequest and API wrappers
2019-05-26 15:42:16 +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)
https://github.com/vim/vim/commit/0f6b4f06dece71487a6d8546c50de775d9c8c287
2019-05-26 07:27:50 -04:00
Justin M. Keyes
4769deb36a
doc #10017
...
- gen_vimdoc.py: fancy "bullet"
- rework `:help channel-callback`
- rename `:help buffered` to `:help channel-buffered`
2019-05-25 10:00:41 +02:00
Justin M. Keyes
62d5137c83
Merge #10038 from janlazo/vim-8.0.1514
...
vim-patch:8.0.{1514,1519},8.1.1360
2019-05-21 14:46:19 +02:00
Justin M. Keyes
5b04a4fa09
lua/shared: share trim() impl
2019-05-20 23:46:56 +02: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 )
https://github.com/vim/vim/commit/07ad816525da67cab3c0db21d1286d221dbc7477
2019-05-20 13:33:59 -04:00
Kwon-Young Choi
b9ba1295b4
runtime/termdebug.vim: handle "\n" as linebreaks #10037
...
Note: use "set print pretty" in gdb
Fixes #10020
2019-05-20 12:47:13 +02: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 )
https://github.com/vim/vim/commit/4f50588ba336e7f086a72c53f5688c2494fc34b3
2019-05-19 23:15:47 -04:00
Justin M. Keyes
5c13f368c6
lint
2019-05-19 21:26:33 +02:00
Justin M. Keyes
fab81cfb04
lua/shared: share more stuff
...
Leave trim() in vim.lua, because gen_vimdoc.py needs at least one
function in there, else it gets confused...
2019-05-19 18:31:40 +02:00
Justin M. Keyes
e4c2d85c77
lua/shared: share deepcopy() with test/*
...
deepcopy() was duplicated in test/helpers.lua
2019-05-19 17:58:54 +02:00
Justin M. Keyes
e628c011bf
gen_vimdoc.py: support lua/shared.lua module [ci skip]
2019-05-19 17:30:20 +02:00
KillTheMule
53576dfb35
Document the vim.lua functions
2019-05-18 22:01:14 +02:00