eightpigs
fa73bb70fc
lsp: Fix "unsupported_method" error when the buffer does not have an LSP Server ( #13175 )
2020-12-03 01:00:54 -05:00
Sean Dewar
8fb786e415
vim-patch:8.2.0602: :unlet $VAR does not work properly ( #13238 )
...
Problem: :unlet $VAR does not work properly.
Solution: Make ":lockvar $VAR" fail. Check the "skip" flag.
https://github.com/vim/vim/commit/7e0868efcf094f2cc59fa4e18af3a8dc7aedd64f
Include patch 8.2.0601 changes so that ex_unletlock() can execute a callback if there are no errors.
2020-12-02 08:44:13 -05:00
Jan Edmund Lazo
d80f262f89
Merge pull request #13428 from janlazo/nvim-8.0.1525
...
vim-patch:8.0.{858,953,1525}
2020-12-01 19:02:38 -05:00
Björn Linse
72c22862dc
Merge pull request #12235 from dm1try/add_init_lua
...
add init.lua as an alternative user config
2020-12-01 18:54:50 +01:00
Björn Linse
f88c2490c7
Merge pull request #13425 from bfredl/secretcharm
...
ex_getln: add secret charm
2020-12-01 17:32:48 +01:00
Jan Edmund Lazo
518fe0e8a2
test/wildmode_spec: override $PS1
...
User config may set $PS1 for a colored prompt.
It breaks the screen tests.
2020-12-01 08:52:34 -05:00
Jan Edmund Lazo
4b74996dbc
test/timer_spec: increase base timeout
...
The following keeps happening in my local environment
because the timeout is too short.
[ FAILED ] test/functional/eval/timer_spec.lua @ 208: timers do not crash when processing events in the handler
test/functional/eval/timer_spec.lua:219: retry() attempts: 1
test/helpers.lua:73: Expected objects to be the same.
Passed in:
(number) 0
Expected:
(number) 1
2020-12-01 08:52:34 -05:00
Jan Edmund Lazo
56f5e3bd6b
vim-patch:8.0.1525: using :wqa exits even if a job runs in a terminal window
...
Problem: Using :wqa exits even if a job runs in a terminal window. (Jason
Felice)
Solution: Check if a terminal has a running job. (closes vim/vim#2654 )
https://github.com/vim/vim/commit/7a76092a51fc5446426a4bfd9eb6503ec61bf9e9
2020-12-01 08:52:33 -05:00
Björn Linse
eb387ae530
executor: use new nlua_ name pattern
2020-12-01 10:51:31 +01:00
dm1try
c65d3fd67b
doc: mention init.lua
...
use a generic name instead of "init.vim" in starting.txt
2020-12-01 10:51:31 +01:00
dm1try
33f324796c
startup: allow lua files as session one
2020-12-01 10:51:31 +01:00
dm1try
767cd8b17b
startup: add init.lua as an alternative user config, fixes #7895
2020-12-01 10:51:25 +01:00
dm1try
13b8857300
path: add helper for checking a file extension
2020-12-01 10:50:38 +01:00
Björn Linse
70d0bee765
Merge pull request #13426 from yegappan/vimdiff
...
Update vim_diff.txt
2020-12-01 10:41:33 +01:00
Jan Edmund Lazo
11249ad021
vim-patch:8.0.0953: get "no write since last change" error in terminal window
...
Problem: Get "no write since last change" error in terminal window.
Solution: Use another message when closing a terminal window. Make ":quit!"
also end the job.
https://github.com/vim/vim/commit/f5be7cd01642fafc4b7d68894eb60cca60c7a405
2020-12-01 01:13:49 -05:00
Jan Edmund Lazo
24ab81bd46
fixup! vim-patch:8.0.0858: check if job terminal is running #10908
2020-12-01 00:16:23 -05:00
Yegappan Lakshmanan
e20ee69952
Update vim_diff.txt
2020-11-30 20:48:52 -08:00
Jan Edmund Lazo
a1a4dd34ea
Merge pull request #13419 from janlazo/vim-8.2.2067
...
vim-patch:8.1.2264,8.2.{617,620,628,2067,2069}
2020-11-30 20:59:40 -05:00
James McCoy
c3a45032e6
Merge pull request #13378 from mgnsk/fix-undeclared-identifier
2020-11-30 20:27:13 -05:00
Björn Linse
bed9839f46
ex_getln: add secret charm
...
Opt in to this secret world using
set wildchar=0
" already the default, but remove if non-zero existing config:
set wildcharm=0
now you can map 'wildmode' just like any mode:
cnoremap <tab> <c-z>
function! Spacey()
return getcmdline()[-1:] == "/" ? "\<bs>" : ""
endfunc
cnoremap <expr> / wildmenumode() ? Spacey()."/<c-z>" : "/"
Possibly asked questions:
What about backwards compatibility?
====
Just do nothing and your existing 'wildchar' and 'wildcharm' will keep working.
Doesn't `<c-z>` mean suspend?
====
Not in cmdline mode. If it would then the recommended wildcharm would not
have been `<c-z>` to start with.
My config relies on `:<c-z>` being a synonym to `:<nop>`!
====
just no.
2020-12-01 00:57:52 +01:00
Magnus Kokk
21c6b40a59
fall back to os_realpath
2020-11-30 19:27:56 +02:00
Magnus Kokk
f348923934
Fix undeclared identifier when HAVE_READLINK is not defined
2020-11-30 19:27:56 +02:00
Jan Edmund Lazo
87279bb809
vim-patch:8.1.2264: there are two test files for :let
...
Problem: There are two test files for :let.
Solution: Merge the two files.
https://github.com/vim/vim/commit/fcf8a8743bdecc0ba28037b79b7cb2962de70b1d
N/A patches for version.c:
vim-patch:8.2.0617: new error check triggers in Swedish menu
Problem: New error check triggers in Swedish menu.
Solution: Insert backslash. (Mats Tegner, closes vim/vim#5966 )
https://github.com/vim/vim/commit/d2662ad2de40e68999198150024531c91fece16c
vim-patch:8.2.0620: error in menu translations
Problem: Error in menu translations.
Solution: Insert a backslash before a space.
https://github.com/vim/vim/commit/0d6fe631f75effbfca92a4f61bbc2fab7385af09
vim-patch:8.2.0628: error in menu translations
Problem: Error in menu translations.
Solution: Insert a backslash before a space in one more file. (Shun Bai,
Emir Sari)
https://github.com/vim/vim/commit/e71ebb46a252cd1cdfb075e6014c2b13c580bf3f
2020-11-30 01:18:33 -05:00
Jan Edmund Lazo
8562c2cb6b
test/old: partial port of patch 8.1.0736
...
Required for patch 8.1.2264.
2020-11-30 01:18:33 -05:00
Jan Edmund Lazo
b3ddc23507
test/old: partial port of patch 8.1.0711
...
Patch 8.1.0711 is too difficult to merge in 1 commit.
2020-11-30 01:18:33 -05:00
Jan Edmund Lazo
5706ff15ed
vim-patch:8.2.2069: the quickfix window is not updated after setqflist()
...
Problem: The quickfix window is not updated after setqflist().
Solution: Update the quickfix buffer. (Yegappan Lakshmanan, closes vim/vim#7390 ,
closes vim/vim#7385 )
https://github.com/vim/vim/commit/287153c5d481a09ffe98a95ad78390ff580bb557
N/A patches for version.c:
vim-patch:8.2.2067: cursor position in popup terminal is wrong
Problem: Cursor position in popup terminal is wrong.
Solution: Don't check the flags.
https://github.com/vim/vim/commit/f5452691ba30e33b38c5b06c51ba40b58457d5d8
2020-11-29 21:12:31 -05:00
Jan Edmund Lazo
aec61074a9
Merge pull request #13404 from jarimayenburg/filetype_docker
...
[RDY] runtime: Updated Dockerfile syntax with latest from Vim upstream
2020-11-29 11:31:14 -05:00
Jari Maijenburg
abb61cd01a
runtime/dockerfile.vim: ebdf3c964a901fc00c9009689f7cfda478342c51
...
Port only dockerfile.vim from upstream
https://github.com/vim/vim/commit/ebdf3c964a901fc00c9009689f7cfda478342c51
2020-11-29 16:31:09 +01:00
Jari Maijenburg
ff1e3048cc
runtime/dockerfile.vim: 560979ed4f0216f902a2c247e937f00a27dcb198
...
Port only dockerfile.vim from upstream
https://github.com/vim/vim/commit/560979ed4f0216f902a2c247e937f00a27dcb198
2020-11-29 16:30:31 +01:00
Matthieu Coudron
15e616a057
folds: use Folded highlight even with spell on ( #13393 )
...
the highlight was not used with spell enabled on folded lines.
Thanks to lervag for the nice report.
2020-11-29 14:26:59 +01:00
Damien Rajon and Damien Rajon
dc6593a84a
doc: fix lsp statusline examle ( #13286 )
...
Co-authored-by: Damien Rajon <damien@askmarty.io >
2020-11-29 14:24:52 +01:00
James McCoy
8b2887bd56
Merge pull request #13288 from acomagu/reduce-memory-usage-lsp-rpc
...
lsp: Reduce memory usage for buffering the message from LSP
2020-11-28 21:43:25 -05:00
Yuki Ito
900228a20f
lsp: Reduce memory usage for buffering the message from LSP.
2020-11-29 06:49:44 +09:00
Jan Edmund Lazo and erw7
a35c54b2ae
vim-patch:8.2.0095: cannot specify exit code for :cquit ( #13407 )
...
Problem: Cannot specify exit code for :cquit.
Solution: Add optional argument. (Thinca, Yegappan Lakshmanan, closes vim/vim#5442 )
https://github.com/vim/vim/commit/1860bde9d31bbb0ba857f6284f6332a7134030dd
Co-authored-by: erw7 <erw7.github@gmail.com >
2020-11-28 21:28:57 +01:00
Björn Linse
7294a20bbc
Merge pull request #13405 from bfredl/newlog
...
initialization: enable logging in set_init_1()
2020-11-28 18:39:00 +01:00
Björn Linse
b8ec6a5775
initialization: delay logging in set_init_1()
2020-11-28 16:55:06 +01:00
Jan Edmund Lazo
ba13b94f5a
Merge pull request #13402 from janlazo/vim-8.2.2056
...
vim-patch:8.1.0951,8.2.{271,594,965,1370,2056,2059}
2020-11-27 21:27:07 -05:00
Jan Edmund Lazo
a3922e03a9
vim-patch:8.2.0271: the "num64" feature is available everywhere
...
Problem: The "num64" feature is available everywhere and building without
it causes problems.
Solution: Graduage the "num64" feature. (James McCoy, closes vim/vim#5650 )
https://github.com/vim/vim/commit/82f654e092ac5b86316bc1b30c0b07a849813186
Restore Test_printf_spec_b() from patch 7.4.2221..
N/A patches for version.c:
vim-patch:8.2.0594: MS-Windows: cannot build with WINVER set to 0x0501
Problem: MS-Windows: cannot build with WINVER set to 0x0501.
Solution: Only use inet_ntop() when available. (Ozaki Kiichi, closes vim/vim#5946 )
https://github.com/vim/vim/commit/b6fb0516ec862a18fdffe06c9400d507a7193835
vim-patch:8.2.0965: has_funcundefined() is not used
Problem: Has_funcundefined() is not used.
Solution: Delete the function. (Dominique Pellé, closes vim/vim#6242 )
https://github.com/vim/vim/commit/5055c56cfbedc6326c607d40c7a1241682f7675e
vim-patch:8.2.1370: MS-Windows: warning for using fstat() with stat_T
Problem: MS-Windows: warning for using fstat() with stat_T.
Solution: use _fstat64() if available. (Naruhiko Nishino, closes vim/vim#6625 )
https://github.com/vim/vim/commit/c753478b82613df37b145764e27f5514542edb97
vim-patch:8.2.2056: configure fails when building with implicit-function-declaration
Problem: Configure fails when building with the
"implicit-function-declaration" error enabled, specifically on Mac.
Solution: Declear the functions like in the source code. (suggestion by
Clemens Lang, closes vim/vim#7380 )
https://github.com/vim/vim/commit/ce7be3a0e6f19bc85990bb8fcfe5e208944777b4
2020-11-27 21:24:59 -05:00
Jan Edmund Lazo
628a1caa69
vim-patch:8.2.2059: Amiga: can't find plugins
...
Problem: Amiga: can't find plugins.
Solution: Do not use "**" in the pattern. (Ola Söder, closes vim/vim#7384 )
https://github.com/vim/vim/commit/6ee874d378829b62e0944063a9a029e81b5debfb
2020-11-27 21:24:59 -05:00
Jan Edmund Lazo
7b8b786062
vim-patch:8.1.0951: using WIN64 even though it is never defined
...
Problem: Using WIN64 even though it is never defined.
Solution: Only use _WIN64. (Ken Takata, closes vim/vim#3997 )
https://github.com/vim/vim/commit/44b443c5db7a372b2da519be15dd962c552e1355
2020-11-27 20:28:54 -05:00
Jan Edmund Lazo
d956842751
Merge pull request #13397 from adrian5/filetype-gitrebase
...
runtime: Patch gitrebase filetype
2020-11-27 09:20:33 -05:00
adrian5
70c2849bc9
gitrebase.vim: patch runtime/syntax to 664f3cf3f21
...
vim/vim@664f3cf3f2
2020-11-27 04:30:56 +01:00
adrian5
23ef9d2dbc
gitrebase.vim: patch runtime/syntax to c08ee7476b1
...
vim/vim@c08ee7476b
2020-11-27 04:28:07 +01:00
adrian5
37e2751c37
gitrebase.vim: patch runtime/ftplugin to c08ee7476
...
vim/vim@c08ee7476b
2020-11-27 04:16:36 +01:00
James McCoy
6af64d384f
Merge pull request #13315 from ThomasFeher/colorscheme_terminal
...
Fix colors in terminal by maintaining COLORTERM
2020-11-26 14:04:25 -05:00
Thomas Fehér
d8963c434f
Fix colors in terminal by maintaining COLORTERM
...
Fixes https://github.com/neovim/neovim/issues/10836
2020-11-26 18:36:22 +01:00
Hirokazu Hata
10a5f40f9e
Merge pull request #13386 from glepnir/glepnir-patch-1
2020-11-26 17:00:49 +09:00
Raphael
0e7f965a1b
use if_nil variable replace vim.F.if_nil
2020-11-26 14:32:38 +08:00
Jan Edmund Lazo
4537ff659e
Merge pull request #13375 from janlazo/vim-8.2.2041
...
vim-patch:8.1.{2290,2390},8.2.{242,257,302,303,462,991,996,2041,2042,2043,2047,2048,2049,2054}
2020-11-25 22:48:53 -05:00
Jan Edmund Lazo
fe5dc26648
vim-patch:8.2.0462: previewwindow test fails on some systems
...
Problem: Previewwindow test fails on some systems. (James McCoy)
Solution: Wait a bit after sending the "o". (closes vim/vim#5849 )
https://github.com/vim/vim/commit/37bb030cd9088ee66dc2d41c2d3602d1e5f4a7ef
Cherry-pick Test_popup_and_previewwindow_dump() changes
from patches 8.1.1585, 8.1.2373.
N/A patches for version.c:
vim-patch:8.2.0242: preview popup window test fails with long directory name
Problem: Preview popup window test fails with long directory name. (Jakub
Kądziołka)
Solution: Use "silent cd". (closes vim/vim#5615 )
https://github.com/vim/vim/commit/799439a5d85a7d45eff7485056f2798cea766300
vim-patch:8.2.2042: build failure with +profile but without +reltime
Problem: Build failure with +profile but without +reltime.
Solution: Adjust #ifdef. (Christian Brabandt, closes vim/vim#7361 )
https://github.com/vim/vim/commit/813196784ad2a3a8cd65be5e975769d9768a728e
vim-patch:8.2.2043: GTK3: white border around text stands out
Problem: GTK3: white border around text stands out.
Solution: Use current theme color. (closes vim/vim#7357 , issue vim/vim#349 )
https://github.com/vim/vim/commit/ff94bd9e4779b918f3761035f43a97ba7175b3ce
vim-patch:8.2.2047: Amiga: FEAT_ARP defined when it should not
Problem: Amiga: FEAT_ARP defined when it should not.
Solution: Adjust #ifdef. (Ola Söder, closes vim/vim#7370 )
https://github.com/vim/vim/commit/36fe7b287e13a7534c9aa6dcf0c3d7f8363f6060
vim-patch:8.2.2048: Amiga: obsolete code
Problem: Amiga: obsolete code.
Solution: Remove the unused lines. (Ola Söder, closes vim/vim#7373 )
https://github.com/vim/vim/commit/3a3b6910421ee1d03c222efc62d61b9fb879d931
vim-patch:8.2.2049: Amiga: obsolete function
Problem: Amiga: obsolete function.
Solution: Remove the function. (Ola Söder, closes vim/vim#7374 )
https://github.com/vim/vim/commit/d653293c806c8bea976737b88006264e7a8ea6d6
vim-patch:8.2.2054: Amiga: FEAT_ARP defined when it should not
Problem: Amiga: FEAT_ARP defined when it should not.
Solution: Adjust "||" to "&&" in #ifdef. (Ola Söder, closes vim/vim#7375 )
https://github.com/vim/vim/commit/d49a35a1c3b736637733b36011fccbee7ef43fcf
2020-11-25 22:08:26 -05:00