Matthieu Coudron
e5da4fd557
Merge pull request #12145 from janlazo/vim-8.2.0584
...
vim-patch:8.2.{584,589}
2020-04-18 04:09:32 +02:00
Jan Edmund Lazo
b3d669b40b
vim-patch:8.2.0589: .bsd file type not recognized
...
Problem: .bsd file type not recognized.
Solution: Recognize .bsd as BSDL. (Daniel Kho, closes vim/vim#5945 )
0fc1288aef
2020-04-17 21:14:26 -04:00
Jan Edmund Lazo
6f7141dd76
vim-patch:8.2.0584: viminfo file uses obsolete function file_readable()
...
Problem: Viminfo file uses obsolete function file_readable().
Solution: Use filereadable(). (closes vim/vim#5934 )
c5f33db888
2020-04-17 19:04:23 -04:00
Matthieu Coudron
fb4c7a53cf
folds: decrease reliance on global "curwin" ( #12132 )
...
Pass the window in which to create/delete folds instead of using the
global "curwin" (current window).
Preliminary work for a fold API.
TODO: I kept changed_lines prototype unchanged. This should be updated
when a fold API sees the light.
2020-04-16 21:29:04 +02:00
Micah Halter
a5818204b1
doc:Fix incorrect nvim config paths in documentation ( #12134 )
...
Updates remaining ~/.vim with ~/.config/nvim
2020-04-16 20:49:05 +02:00
George Zhao
51b4fc4778
lsp: provide a default for missing reference kind ( #12127 )
...
Fix #12122
>Error executing vim.schedule lua callback: /usr/local/share/nvim/runtime/lua/vim/lsp/util.lua:560: Expected lua string
Some lsp server(e.g. https://github.com/bash-lsp/bash-language-server ) not have kind in reference, reference["kind"] is nil
2020-04-16 18:30:03 +02:00
erw7
e8269a3ab5
win,runtime: Fix problem when win32yank was a symbolic link in WSL [skip ci] ( #12124 )
...
On some versions of Windows, WSL is unable to execute symbolic links to
Windows executables (microsoft/WSL#3999). As a workaround for that problem
this changes to use resolve() on WSL if win32yank was a symbolic link.
fixes #12113 .
2020-04-15 14:54:23 +02:00
James McCoy
e11e93d139
Merge pull request #12005 from erw7/fix-screen-vsplit
...
Closes #11998
2020-04-15 08:06:59 -04:00
James McCoy
979b7c0a73
Merge pull request #12121 from janlazo/vim-8.2.0575
2020-04-15 07:56:42 -04:00
Jan Edmund Lazo
5f7384bf42
vim-patch:8.2.0575: :digraph! not tested
...
Problem: :digraph! not tested.
Solution: Add a test. (Dominique Pelle, closes vim/vim#5925 )
e3242346cf
2020-04-13 20:04:51 -04:00
Doug Richardson
05fd647770
Suppress Microsoft copyright banner. ( #12114 )
2020-04-14 00:42:50 +02:00
Doug Richardson
bf58c00071
Use libnvim as OUTPUT_NAME for libnvim ( #12119 )
...
libnvim's OUTPUT_NAME was nvim, which caused the cmake Ninja generator
to generate two build rules for the library, which produced a warning
about incorrect builds.
2020-04-14 00:41:45 +02:00
Thomas Churchman
b3a66faf66
TUI: support setting cursor color in tmux ( #12100 )
2020-04-14 00:07:30 +02:00
Matthieu Coudron
93b2cb7a38
Merge pull request #11997 from janlazo/vim-8.1.2389
...
[RDY]vim-patch:8.1.{1745,2147,2280,2282,},8.2.{41,134,365,366,381,387,389,397,398,406,415,457,464,473,474,507,544,549}
2020-04-13 22:49:00 +02:00
Jan Edmund Lazo
cf223e7d78
vim-patch:8.2.0549: user systemd files not recognized
...
Problem: User systemd files not recognized.
Solution: Add filetype patterns. (Kevin Locke, closes vim/vim#5914 )
3b922f1138
2020-04-13 12:00:34 -04:00
Jan Edmund Lazo
bdf629775b
vim-patch:8.2.0544: memory leak in search test
...
Problem: Memory leak in search test.
Solution: Free msgbuf. (Dominique Pelle, closes vim/vim#5912 )
880e4d9117
2020-04-13 12:00:34 -04:00
Jan Edmund Lazo
5726272559
vim-patch:8.2.0507: getbufvar() may get the wrong dictionary
...
Problem: Getbufvar() may get the wrong dictionary. (David le Blanc)
Solution: Check for empty name. (closes vim/vim#5878 )
5259275347
2020-04-13 12:00:34 -04:00
Jan Edmund Lazo
366e75b6be
vim-patch:8.2.0473: variables declared in an outer scope
...
Problem: Variables declared in an outer scope.
Solution: Decleare variables only in the scope where they are used.
8601545338
2020-04-13 12:00:33 -04:00
Jan Edmund Lazo
d74a28d716
vim-patch:8.2.0134: some map functionality not covered by tests
...
Problem: Some map functionality not covered by tests.
Solution: Add tests. (Yegappan Lakshmanan, closes vim/vim#5504 )
8ba6bb7c94
2020-04-13 12:00:33 -04:00
Jan Edmund Lazo
87334c00e0
vim-patch:8.2.0474: cannot use :write when using a plugin with BufWriteCmd
...
Problem: Cannot use :write when using a plugin with BufWriteCmd.
Solution: Reset BF_NOTEDITED after BufWriteCmd. (closes vim/vim#5807 )
0fff44152d
2020-04-13 12:00:33 -04:00
Jan Edmund Lazo
b8ddca6554
vim-patch:8.2.0464: typos and other small problems
...
Problem: Typos and other small problems.
Solution: Fix the typos. Add missing file to distribution.
2d9d409ad4
2020-04-13 12:00:33 -04:00
Jan Edmund Lazo
bc84cf2585
vim-patch:8.2.0457: Test_quotestar() often fails when run under valgrind
...
Problem: Test_quotestar() often fails when run under valgrind.
Solution: Wait longer for the GUI to start.
26bde6e2eb
2020-04-13 12:00:32 -04:00
Jan Edmund Lazo
22eb3c9e49
vim-patch:8.1.1745: compiler warning for unused argument
...
Problem: Compiler warning for unused argument.
Solution: Add UNUSED. Change comments to new style.
1f164b1968
2020-04-13 12:00:32 -04:00
Jan Edmund Lazo
dfb8dc8b45
vim-patch:8.2.0415: bsdl filetype is not detected
...
Problem: Bsdl filetype is not detected.
Solution: Add an entry in the filetype list. (Daniel Kho, closes vim/vim#5810 )
40d235e730
2020-04-13 12:00:32 -04:00
Jan Edmund Lazo
5fe88337f0
vim-patch:8.2.0406: FileReadCmd event not well tested
...
Problem: FileReadCmd event not well tested.
Solution: Add a test.
e32848780c
2020-04-13 12:00:32 -04:00
Jan Edmund Lazo
16a4581349
vim-patch:8.1.2282: crash when passing many arguments through a partial
...
Problem: Crash when passing many arguments through a partial. (Andy
Massimino)
Solution: Check the number of arguments. (closes vim/vim#5186 )
4c054e9fb2
2020-04-13 12:00:32 -04:00
Jan Edmund Lazo
dbb386e1b2
vim-patch:8.1.2280: crash when passing partial to substitute()
...
Problem: Crash when passing partial to substitute().
Solution: Take extra arguments into account. (closes vim/vim#5186 )
b0745b221d
2020-04-13 12:00:31 -04:00
Jan Edmund Lazo
60a7184185
vim-patch:8.2.0398: profile test fails when two functions take same time
...
Problem: Profile test fails when two functions take same time.
Solution: Add a short sleep in once function. (closes vim/vim#5797 )
a21df1db3c
2020-04-13 12:00:31 -04:00
Jan Edmund Lazo
a15750321b
vim-patch:8.2.0397: delayed screen update when using undo from Insert mode
...
Problem: Delayed screen update when using undo from Insert mode.
Solution: Update w_topline and cursor shape before sleeping. (closes vim/vim#5790 )
5715b3147b
2020-04-13 12:00:31 -04:00
Jan Edmund Lazo
5be72756f8
vim-patch:8.2.0041: leaking memory when selecting spell suggestion
...
Problem: Leaking memory when selecting spell suggestion.
Solution: Free previous value at the right time.
6c52f82371
2020-04-13 12:00:31 -04:00
Jan Edmund Lazo
d2abd1be80
vim-patch:8.1.2147: crash when allocating memory fails
...
Problem: Crash when allocating memory fails. (Zu-Ming Jiang)
Solution: Check that 'spellcapcheck' is not NULL. (closes vim/vim#5048 )
53efb18530
2020-04-13 12:00:31 -04:00
Jan Edmund Lazo
36326436f7
pvs/v502: use explicit ternary in for-loop
2020-04-13 12:00:30 -04:00
Jan Edmund Lazo
63fc0e1d1c
vim-patch:8.2.0389: delayed redraw when shifting text from Insert mode
...
Problem: Delayed redraw when shifting text from Insert mode.
Solution: Use msg_attr_keep() instead of msg(). (closes vim/vim#5782 )
e4fc746d13
2020-04-13 12:00:30 -04:00
Jan Edmund Lazo
351a1cff70
vim-patch:8.2.0387: error for possible NULL argument to qsort()
...
Problem: Error for possible NULL argument to qsort().
Solution: Don't call qsort() when there is nothing to sort. (Dominique
Pelle, closes vim/vim#5780 )
bb65a5690c
2020-04-13 12:00:30 -04:00
Jan Edmund Lazo
35e798c3a7
pvs/v595: check if extmark not NULL
2020-04-13 12:00:30 -04:00
Jan Edmund Lazo
69d019f3bd
pvs/v560: remove redundant line check
2020-04-13 12:00:30 -04:00
Jan Edmund Lazo
7ef2677ca6
vim-patch:8.2.0381: using freed memory with :lvimgrep and autocommand
...
Problem: Using freed memory with :lvimgrep and autocommand. (extracted from
POC by Dominique Pelle)
Solution: Avoid deleting a dummy buffer used in a window. (closes vim/vim#5777 )
2573af3519
2020-04-13 12:00:30 -04:00
Jan Edmund Lazo
e892dde369
vim-patch:8.2.0365: tag kind can't be a multi-byte character
...
Problem: Tag kind can't be a multi-byte character. (Marcin Szamotulski)
Solution: Recognize multi-byte character. (closes vim/vim#5724 )
283e5f4e69
2020-04-13 12:00:29 -04:00
Jan Edmund Lazo
65b0bd6577
vim-patch:8.2.0366: hardcopy command not tested enough
...
Problem: Hardcopy command not tested enough.
Solution: Add tests for printing. (Dominique Pelle, closes vim/vim#5748 )
2e09634a78
2020-04-13 12:00:29 -04:00
James McCoy
13b4a6fd4f
Merge pull request #12073 from janlazo/vim-8.2.0027
...
vim-patch:8.1.{2366,2378,2387,2387},8.2.{27,560}
2020-04-13 11:06:23 -04:00
Jan Edmund Lazo
a122f6c6d4
vim-patch:8.2.0560: compiler warning in tiny build
...
Problem: Compiler warning in tiny build.
Solution: Move declaration inside #ifdef. (Dominique Pelle, closes vim/vim#5915 )
2196bce56f
2020-04-12 16:04:51 -04:00
Jan Edmund Lazo
0f18c718cd
vim-patch:8.2.0027: still some /* */ comments
...
Problem: Still some /* */ comments.
Solution: Convert to // comments.
aa2f0ee639
2020-04-12 15:57:54 -04:00
Jan Edmund Lazo
b3e249db7c
vim-patch:8.1.2387: using old C style comments
...
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
2ab2e8608f
2020-04-12 15:57:54 -04:00
Jan Edmund Lazo
73dc9e943c
vim-patch:8.1.2378: using old C style comments
...
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
5d18efecfd
2020-04-12 15:56:40 -04:00
Jan Edmund Lazo
2ec6fec20b
vim-patch:8.1.2366: using old C style comments
...
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
9bf703d46a
2020-04-12 15:56:39 -04:00
Jan Edmund Lazo
81db53edec
vim-patch:8.1.2389: using old C style comments
...
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
707d226ac5
2020-04-12 15:56:39 -04:00
Matthieu Coudron
46fdad255e
Merge pull request #12033 from janlazo/vim-8.1.1313
...
[RFC]vim-patch:8.1.{1313,1567,1568}
2020-04-12 20:37:57 +02:00
Santos Gallegos
1f56f9a4b3
netrw.vim: gx should ignore terminal buffers #12091
...
netrw thinks it's a remote file due the name of a terminal buffer (term://),
but a terminal buffer isn't a file.
Fixes https://github.com/neovim/neovim/issues/4612#issuecomment-600321171
2020-04-08 08:57:32 -07:00
Kerkko Pelttari
f47e574c87
Apply suggestions from code review
...
Improve error message for unsupported bash version, use double square bracket operator
Co-Authored-By: Daniel Hahler <github@thequod.de>
2020-04-07 10:43:17 +03:00
Kerkko Pelttari
d26a66a2b3
Check for bash version in vim-patch.sh
2020-04-06 09:59:25 +03:00