Jan Edmund Lazo
d5ab4b800c
vim-patch:8.1.1089: tutor does not check $LC_MESSAGES
...
Problem: Tutor does not check $LC_MESSAGES.
Solution: Let $LC_MESSAGES overrule $LANG. (Miklos Vajna, closes vim/vim#4112 )
https://github.com/vim/vim/commit/b44b7add8ae8e15328b4f68c3caf511bd9aaac8c
2020-12-12 16:38:23 -05:00
Jan Edmund Lazo
7bbe8a4900
vim-patch:8.2.2130: Insert mode completion messages end up in message history
...
Problem: Insert mode completion messages end up in message history.
Solution: Set msg_hist_off. (closes vim/vim#7452
https://github.com/vim/vim/commit/cc2335896ba707bf0d8cf03cca2de7c66fab62a0
2020-12-12 14:07:16 -05:00
Jan Edmund Lazo
257c0f89a9
Merge pull request #13523 from janlazo/javascript-runtime
...
Update Javascript runtime
2020-12-12 13:31:47 -05:00
Jan Edmund Lazo
4fa6aa90ad
runtime/javascript: 207f009326c8f878defde0e594d7d9ed9860106e
...
Port javascript and javascript react ftplugins only.
2020-12-12 11:40:25 -05:00
Jan Edmund Lazo
a8860b033f
runtime/javascript: e7b1ea0276cc83cd5c612f3189a174a60d57b5ed
...
Port javascript autocomplete file only.
2020-12-12 11:38:33 -05:00
Jan Edmund Lazo
a2f8a795cd
runtime/javascript: 388a5d4f20b4b64341d1604aa238cab85827b892
...
Port javascript syntax file only.
Ref https://github.com/neovim/neovim/issues/13185
2020-12-12 11:38:31 -05:00
Jan Edmund Lazo
552ff68349
runtime/javascript: 09c6f265b21065ffa9437837b1d0955137175e45
...
Port javascriptreact.vim syntax only.
Ref https://github.com/neovim/neovim/issues/13185
2020-12-12 11:38:28 -05:00
Jan Edmund Lazo
e2be382977
runtime/javascript: 5be4ceecea5520265066eac972460ebb1cdf05e7
...
Port javascript syntax files only.
Ref: https://github.com/neovim/neovim/issues/13185
2020-12-12 11:38:25 -05:00
Jan Edmund Lazo
4f9e7a512d
Merge pull request #13521 from janlazo/nvim-8.1.2246
...
vim-patch:8.1.2246
2020-12-12 09:07:23 -05:00
Björn Linse
b6723e1ea0
Merge pull request #13486 from bfredl/bufnoreload
...
fileio: detach buffer when buffer was reloaded (like with :edit)
2020-12-12 09:55:49 +01:00
Jan Edmund Lazo
da5c547ee3
vim-patch:8.1.2246: some tests are still in old style
...
Problem: Some tests are still in old style.
Solution: Change a few tests to new style. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/1f068233c101ecf5966e6df14853fe68f08175a7
2020-12-11 23:39:11 -05:00
Jan Edmund Lazo
cb8e0d07b3
test/old: cherry-pick patch v8.1.1955 changes for test_trycatch.vim
2020-12-11 23:39:10 -05:00
Jan Edmund Lazo
aed5a53d5f
test/old: cherry-pick patch 8.1.0711 changes for test_trycatch.vim
2020-12-11 23:39:10 -05:00
Jan Edmund Lazo
cacdef5ff1
Merge pull request #13489 from janlazo/issue-13485
...
eval: executable(), exepath() accept strings only
2020-12-11 23:36:15 -05:00
Jan Edmund Lazo
da58242fb8
test/functional/eval: assert that executable() fixtures are executable
2020-12-11 22:59:43 -05:00
Jan Edmund Lazo
5ccc79e880
eval: executable(), exepath() accept strings only
...
Cherry-pick f_executable(), f_exepath(), check_for_string() from patch 8.2.2117.
Rename check_for_string() to tv_check_for_string().
https://github.com/vim/vim/commit/7bb4e74c38642682cfdd0cb4052adfa5efdd7dd1
Close https://github.com/neovim/neovim/issues/13485
2020-12-11 21:20:20 -05:00
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().
https://github.com/vim/vim/commit/0c1e3744ff0cd6c17af773046b876b428ff3dded
2020-12-11 19:45:22 -05:00
Edwin Pujols
a82bcf9d9c
unused macros: Remove a five unused macros. ( #13517 )
...
Removes:
- GET_CHARTAB
- PRT_PS_DEFAULT_BUFFER_SIZE
- key_t
- PROP_MASK
- SCTX_INIT
Referring #13505 .
2020-12-11 19:41:20 -05:00
Edwin Pujols
f2ec058602
tests: Take into account magic hyphen. ( #13518 )
...
In Lua patterns the hyphen works like a non-greedy version of Vim's `*`.
- Use `%-` when you need a literal hyphen.
- If you don't need a regular expression at all, use something like
```
string.find(text, pattern, 1, true)
```
so that the pattern is regarded as a plain, non-magical string.
See [1] and [2] in the Lua manual.
[1]: https://www.lua.org/manual/5.1/manual.html#pdf-Patterns
[2]: https://www.lua.org/manual/5.1/manual.html#pdf-string.find
2020-12-11 18:54:39 -05:00
James McCoy
4620ad604f
Merge pull request #13515 from neovim/revert-13514-patch-1
...
Revert "Use oldest macOS version for release workflow"
2020-12-11 13:07:30 -05:00
James McCoy
50a76a0e5d
Revert "Use oldest macOS version for release workflow"
2020-12-11 13:07:07 -05:00
James McCoy
b8e12ebf20
Merge pull request #13514 from mhanberg/patch-1
...
Use oldest macOS version for release workflow
2020-12-11 12:40:19 -05:00
Mitchell Hanberg
81aa780909
Use oldest macOS version for release workflow
2020-12-11 11:57:19 -05:00
Jan Edmund Lazo
77c60206df
vim-patch:8.1.1900: sign test fails in the GUI ( #13511 )
...
Problem: Sign test fails in the GUI.
Solution: Catch and ignore the exception.
https://github.com/vim/vim/commit/d933c82ff4e2c910bd533ed9a50377699c3f5ec9
Port Test_sign_funcs() changes from patch 8.1.1899.
Test_sign_funcs_multi() in patch 8.1.1899 cannot be ported
without earlier sign patches..
N/A patches for version.c:
vim-patch:8.1.0954: arguments of semsg() and siemsg() are not checked
Problem: Arguments of semsg() and siemsg() are not checked.
Solution: Add function prototype with __attribute__.
https://github.com/vim/vim/commit/0d8562a9992e94d532485c37268ca33c0c49ecc2
vim-patch:8.2.2126: Ruby: missing function prototype
Problem: Ruby: missing function prototype.
Solution: Add the prototype.
https://github.com/vim/vim/commit/0e12140550a63bb1e45771edb89b941959440cfe
2020-12-11 10:10:33 -05:00
Edwin Pujols
763de8dd8f
macros.h: Remove unused CURSOR_BAR_RIGHT macro. ( #13506 )
...
Closes #13505 .
2020-12-11 07:43:29 -05:00
Jan Edmund Lazo
faa47eafff
vim-patch:8.2.0005: duplication in version info ( #13502 )
...
Problem: Duplication in version info.
Solution: Use preprocessor string concatenation. (Ken Takata, closes vim/vim#5357 )
https://github.com/vim/vim/commit/502122565665674d914a1feeb15ac4a0bb0c8723
2020-12-10 21:07:20 -05:00
Jan Edmund Lazo
a92dbf49bf
ex_cmds: port cmd_addr_T and ADDR_NONE ( #13492 )
...
Patch 8.1.1241 is too hard to port in 1 commit.
https://github.com/neovim/neovim/pull/13079 is too hard to review
and seems to be blocked.
Use 'int' type for some addr variables to suppress 'switch/case' warnings.
2020-12-10 19:48:18 -05:00
Björn Linse
52e660e857
Merge pull request #13482 from dm1try/propagate_lua_file_loading_errors
...
runtime: propagate lua parsing errors while using "require"
2020-12-10 12:15:40 +01:00
Thomas Vigouroux
99007bcc12
Merge pull request #13450 from nvim-treesitter/fix-unknown-language-parser
...
fix(treesitter): don't throw an error for missing injected langs
2020-12-10 11:12:39 +01:00
dm1try
3421485253
runtime: propagate lua parsing errors while using "require"
2020-12-10 10:53:28 +01:00
Jan Edmund Lazo
00f60c2ce7
vim-patch:8.2.1833: when reading from stdin dup() is called twice ( #13498 )
...
Problem: When reading from stdin dup() is called twice.
Solution: Remove the dup() in main.c. (Ken Takata, closes vim/vim#7110 )
https://github.com/vim/vim/commit/204ade6bcb85f48f56e52e040d1ebf40548d92be
N/A patches for version.c:
vim-patch:8.2.2109: "vim -" does not work well when modifyOtherKeys is enabled
Problem: "vim -" does not work well when modifyOtherKeys is enabled and a
shell command is executed on startup.
Solution: Only change modifyOtherKeys when executing a shell command in raw
mode.
https://github.com/vim/vim/commit/8a3da6a368ca7e761939366e355528bccb6dffa3
vim-patch:8.2.2110: cannot use ":shell" when reading from stdin
Problem: Cannot use ":shell" when reading from stdin. (Gary Johnson)
Solution: Revert patch 8.2.1833.
https://github.com/vim/vim/commit/8e1cbb55c389bdc4eade7a67309d5042fbcdca7d
vim-patch:8.2.2111: GTK: menu background is the same color as the main window
Problem: GTK: Menu background is the same color as the main window.
Solution: Fix white space around the test in another way. (closes vim/vim#7437 ,
closes vim/vim#7427 )
https://github.com/vim/vim/commit/023fd5d21323fe6dffa080bd20c4d39e1212d353
vim-patch:8.2.2113: MS-Windows GUI: crash after using ":set guifont=" four times
Problem: MS-Windows GUI: crash after using ":set guifont=" four times.
Solution: Check for NULL pointer. (Ken Takata, closes vim/vim#7434 )
https://github.com/vim/vim/commit/1b3e0727ce86ca4cfa47f8b5421d82ed47a9bec1
vim-patch:8.2.2116: MS-Windows GUI: test for 'guifont' is incomplete
Problem: MS-Windows GUI: test for 'guifont' is incomplete.
Solution: Set 'renderoptions'. (Christian Brabandt)
https://github.com/vim/vim/commit/2c78a772fdb5f6a16d16a47e7f218051c4dcb845
vim-patch:8.2.2118: dead code in the job support
Problem: Dead code in the job support. (Dominique Pellé)
Solution: Define USE_ARGV before checking for it.
https://github.com/vim/vim/commit/f46bf5204c3c55d23921b501db21a906d526eb45
vim-patch:8.2.2119: GTK3: status line background color is wrong
Problem: GTK3: status line background color is wrong.
Solution: Don't change the code for earlier GTK3 versions. (closes vim/vim#7444 )
https://github.com/vim/vim/commit/7988a6f0e9999d1103271024ab4ed26e5599de17
2020-12-09 21:23:51 -05:00
Jan Edmund Lazo
638f5d5b95
Merge pull request #13497 from seandewar/vim-8.2.2121
...
vim-patch:8.2.{2121,2123}
2020-12-09 19:12:48 -05:00
Sean Dewar
9900e68ae3
vim-patch:8.2.2123: after using a complete popup the buffer is listed
...
Problem: After using a complete popup the buffer is listed. (Boris
Staletic)
Solution: Make the buffer unlisted.
https://github.com/vim/vim/commit/d356fc65d273959efa9b05bfa0f07ce1c9ff85a4
2020-12-09 19:28:03 +00:00
Sean Dewar
b8a0304bb9
vim-patch:8.2.2121: internal error when using \ze before \zs in a pattern
...
Problem: Internal error when using \ze before \zs in a pattern.
Solution: Check the end is never before the start. (closes vim/vim#7442 )
https://github.com/vim/vim/commit/a7a691cc142439e266f4ceb1f208bb952b57aa71
2020-12-09 19:02:57 +00:00
James McCoy
bfed67e00e
Merge pull request #13494 from jamessan/release-fixes
...
GHA: Use oldest OS images to build releases
2020-12-09 07:49:58 -05:00
James McCoy
3881bc2295
GHA: Use oldest OS images to build releases
...
Closes #13493
2020-12-09 07:39:20 -05:00
Kevin Fleming
fb1c08a86f
doc: Fix incorrect LSP diagnostic-related helptags ( #13388 )
2020-12-09 11:21:16 +01:00
Olivier Roques
222a0452fa
doc: Add missing parameter end_pos for range_formatting ( #13481 )
2020-12-09 11:19:56 +01:00
Matthieu Coudron
3974c4bce3
feat(nix): add flake.nix ( #13487 )
...
`flakes` is a feature available in the unstable version of the `nix` package manager
to ease the distribution of nix expressions see https://www.tweag.io/blog/2020-05-25-flakes/ .
Nix excels at software reproducibility and is available/can be
installed on different distributions (ubuntu/void/debian etc) as well
as macOS.
This flakes contains 3 packages that can be installed via for instance
`nix run 'github:neovim/neovim?dir=contrib#nvim-debug'`
or
`nix run 'github:neovim/neovim?dir=contrib'` for the default version.
you can register an alias
`nix registry add neovim 'github:neovim/neovim?dir=contrib'`
and the previous commands become:
`nix run neovim`
2020-12-09 09:15:37 +01:00
TJ DeVries
08ec36efaf
feat: Allow incremental sync & lsp flags ( #13371 )
2020-12-08 21:09:33 -05:00
Björn Linse
74089a9086
fileio: detach buffer when buffer was reloaded (like with :edit)
2020-12-08 18:40:52 +01:00
Jan Edmund Lazo
4383c0f952
Merge pull request #13478 from seandewar/vim-8.2.2106
...
vim-patch:8.2.2106: TOML files are not recognized
2020-12-07 18:22:03 -05:00
Sean Dewar
8329f624de
vim-patch:8.2.2106: TOML files are not recognized
...
Problem: TOML files are not recognized.
Solution: Match *.toml. (issue vim/vim#7432 )
https://github.com/vim/vim/commit/b237ae7b837a31922d31c3a27b7c66e63468b8a8
2020-12-07 18:03:29 +00:00
Thomas Vigouroux
85bce4d13d
Merge pull request #13473 from ostera/patch-1
...
Fix typo on treesitter.txt help page
2020-12-07 13:29:54 +01:00
Leandro Ostera
c86ba6dea4
Fix typo on treesitter.txt help page
2020-12-07 08:08:23 +01:00
James McCoy
ee5ece084c
Merge pull request #13471 from jamessan/release-fixes
2020-12-06 22:31:30 -05:00
James McCoy
b32124fce2
GHA: Perform a full checkout for release workflow
...
This is needed to get a tag-based version from `git describe` rather
than just the commit.
2020-12-06 21:01:11 -05:00
James McCoy
2b594b9c81
Use vX.Y.Z-dev+{git-describe} for development versions
2020-12-06 21:01:11 -05:00
Jan Edmund Lazo
7477703586
Merge pull request #13468 from janlazo/vim-8.1.0818
...
vim-patch:8.1.{818,1131,2064},8.2.{587,879,1021,1296,2104}
2020-12-06 20:39:53 -05:00
Jan Edmund Lazo
8ae34ab780
log: use uv_gettimeofday() for Windows
...
POSIX gettimeofday() is not portable.
2020-12-06 19:26:33 -05:00