zeertzjq
27ce21ac85
vim-patch:partial:8.2.0897: list of functions in patched version is outdated ( #19637 )
...
Problem: List of functions in patched version is outdated.
Solution: Update the function lists only.
https://github.com/vim/vim/commit/ebacddbc16b2d76bf5dad636d7ee5c529f0e8753
2022-08-04 11:05:49 +08:00
rhcher
7c997dbc5d
fix(lsp): prevent unexpected position jumps ( #19370 )
2022-08-03 21:44:33 +02:00
Justin M. Keyes
43cd91a4f4
Merge #19626 build: cleanup old cmake files
2022-08-03 07:54:53 -07:00
zeertzjq
0a29267514
fix(completion): remove wrong FUNC_ATTR_NONNULL_ALL ( #19627 )
2022-08-03 21:50:14 +08:00
ii14 and ii14
3df8d9b8c5
feat(lua): print source locations of lua callbacks ( #19597 )
...
Co-authored-by: ii14 <ii14@users.noreply.github.com >
2022-08-03 13:41:17 +01:00
zeertzjq
c57e133e50
fix(ui): set redraw_cmdline when setting window height ( #19630 )
2022-08-03 19:25:03 +08:00
Lewis Russell
5ee56f95c7
Merge pull request #19540 from lewis6991/cmd_refactor
2022-08-03 11:44:17 +01:00
Dundar Goc
d3bfc03c5d
build: remove InstallClintErrors.cmake
...
Replace its functionality by copying the entire directory where the
reports are instead.
2022-08-03 09:52:05 +02:00
Dundar Goc
ba3742ed0d
build: remove unused file i386-linux-gnu.toolchain.cmake
...
It was used in .travis.yml which has been removed.
2022-08-03 09:52:05 +02:00
Dundar Goc
6e2c6114f9
build: replace deprecated cmake features with their modern alternatives
...
- Use DIRECTORY instead of PATH in get_filename_component
- Use COMPILE_OPTIONS instead of COMPILE_FLAGS. COMPILE_FLAGS is treated
as a single string while COMPILE_OPTIONS is a list, meaning that cmake
will take care of any escaping and quoting automatically.
2022-08-03 09:52:05 +02:00
b8dcbcc732
docs: fix typos ( #19588 )
...
Co-authored-by: zeertzjq <zeertzjq@outlook.com >
Co-authored-by: notomo <notomo.motono@gmail.com >
2022-08-03 09:47:16 +08:00
Lewis Russell and zeertzjq
cc1ceebf8f
refactor: quickfix.c ( #19603 )
...
Simplify variable declarations
Co-authored-by: zeertzjq <zeertzjq@outlook.com >
2022-08-02 23:16:07 +01:00
bfredl
0806c882cd
Merge pull request #19584 from bfredl/terminal_c_BSL_c_O
...
implement <c-\><c-o> key for terminal mode
2022-08-02 14:53:20 +02:00
zeertzjq
def0ced4c7
fix(tabpage): check if ROWS_AVAIL changed for resize ( #19620 )
...
N/A patches for version.c:
vim-patch:9.0.0135: comment about tabpage line above the wrong code
Problem: Comment about tabpage line above the wrong code.
Solution: Move the comment. (closes vim/vim#10836 )
https://github.com/vim/vim/commit/0b0ccbbfb014e1c9682b86a7a41ff2837b0b8047
2022-08-02 20:48:41 +08:00
bfredl
9092540315
feat(terminal): implement <c-\><c-o> for terminal mode
...
this works similar to <c-o> or <c-\><c-o> in insert mode
2022-08-02 13:54:41 +02:00
dundargoc
8ce7e7409f
build: add formatting targets for c and lua files ( #19488 )
...
The targets will only format files that have been changed in current
branch compared to the master branch. This includes unstaged, staged and
committed files.
Add following make and cmake targets:
formatc - format changed c files
formatlua - format changed lua files
format - run formatc and formatlua
Remove scripts/uncrustify.sh as this deprecates it.
2022-08-02 12:32:57 +02:00
dundargoc
c223875a65
refactor: rename function prefix mb to the more accurate utf_cp ( #19590 )
...
The "cp" stands for codepoint.
Closes https://github.com/neovim/neovim/issues/7401
2022-08-02 11:52:33 +02:00
Lewis Russell
dc2745e9ea
refactor(cmd): unify execute_cmd with do_one_cmd
2022-08-02 10:46:14 +01:00
Lewis Russell
dc24cb668c
refactor(cmd): hoist out some code into functions
2022-08-02 10:32:00 +01:00
Lewis Russell
1f847edc63
refactor(cmd): format do_one_cmd()
...
- Comment style
- Minimise scope of locals
2022-08-02 10:32:00 +01:00
zeertzjq
0a049c322f
test: improve mapping tests and docs ( #19619 )
2022-08-02 11:13:22 +08:00
zeertzjq
9c91d5c613
Merge pull request #19617 from zeertzjq/vim-8.2.4956
...
vim-patch:8.2.{4899,4956,5013}
2022-08-02 06:57:49 +08:00
zeertzjq
50672e3850
vim-patch:8.2.5013: after text formatting cursor may be in an invalid position
...
Problem: After text formatting the cursor may be in an invalid position.
Solution: Correct the cursor position after formatting.
https://github.com/vim/vim/commit/78d52883e10d71f23ab72a3d8b9733b00da8c9ad
2022-08-02 05:58:51 +08:00
zeertzjq
4f576be881
vim-patch:8.2.4956: reading past end of line with "gf" in Visual block mode
...
Problem: Reading past end of line with "gf" in Visual block mode.
Solution: Do not include the NUL in the length.
https://github.com/vim/vim/commit/395bd1f6d3edc9f7edb5d1f2d7deaf5a9e3ab93c
Omit trailing space: removed in patch 9.0.0126.
2022-08-02 05:58:51 +08:00
zeertzjq
c57c25649b
vim-patch:8.2.4899: with latin1 encoding CTRL-W might go before the cmdline
...
Problem: With latin1 encoding CTRL-W might go before the start of the
command line.
Solution: Check already being at the start of the command line.
https://github.com/vim/vim/commit/ef02f16609ff0a26ffc6e20263523424980898fe
2022-08-02 05:58:51 +08:00
jdrouhard
d4b9f8186d
vim-patch:9.0.0126 ( #19612 )
...
vim-patch:9.0.0126: expanding file names fails in dir with more than 255 entries
Problem: Expanding file names fails in directory with more than 255
entries.
Solution: Use an int instead of char_u to count. (John Drouhard,
closes vim/vim#10818 )
https://github.com/vim/vim/commit/95fca12b0e8a351ce4416417323db24c63eb940a
2022-08-02 05:39:23 +08:00
Mathias Fußenegger
e99de3f12f
fix(lsp): send didOpen if name changes on write ( #19583 )
...
`:saveas newName` changes the name of an existing buffer.
Due to the buffer re-use it skips the lsp attach phase and immediately
sends a `didSave` notification to the server.
Servers get confused about this, because they expect a `didOpen`
notification first.
Closes https://github.com/neovim/neovim/issues/18688
2022-08-01 22:32:53 +02:00
Christian Clason
711ef4eac9
vim-patch:05a8061eecd9 ( #19610 )
...
Update runtime files
https://github.com/vim/vim/commit/05a8061eecd9969ee6cde008f54ded77462b649e
2022-08-01 17:13:53 +02:00
Percy Ma
c6181a672a
feat(node): add pnpm support #19461
2022-08-01 07:21:54 -07:00
zeertzjq
8d1c55e422
Merge pull request #19602 from zeertzjq/vim-8.2.0807
...
vim-patch:8.2.{0807,0809,0812,0815,0832,1773,2804,4831,5106},9.0.0127: first part of mapset()
2022-08-01 22:19:30 +08:00
zeertzjq
d954e8da62
feat(mapset): support restoring "replace_keycodes" and "desc"
2022-08-01 21:54:18 +08:00
zeertzjq
cabb23ea4d
test: fix api/keymap_spec.lua tests
2022-08-01 21:54:18 +08:00
zeertzjq
8a032a6866
vim-patch:8.2.5106: default cmdwin mappings are re-mappable
...
Problem: Default cmdwin mappings are re-mappable.
Solution: Make the default mappings not re-mappable. (closes vim/vim#10580 ) Use
symbols for the first do_map() argument.
https://github.com/vim/vim/commit/44068e97dbd8fc8ebd93113e436a1e37a6bff52c
2022-08-01 21:54:18 +08:00
zeertzjq
9cebfbe6ab
vim-patch:8.2.4831: crash when using maparg() and unmapping simplified keys
...
Problem: Crash when using maparg() and unmapping simplified keys.
Solution: Do not keep a mapblock pointer. (closes vim/vim#10294 )
https://github.com/vim/vim/commit/2c8a7ebdad9da017bfb6dc8a0f46acea77ec2e17
N/A patches for version.c:
vim-patch:8.2.0832: compiler warning for uninitialized variable
Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
Solution: Add initial value.
https://github.com/vim/vim/commit/a55ba06f6904af3d6a78fc90358cf72d4f2e8450
2022-08-01 21:54:18 +08:00
zeertzjq
34e7dc5d05
vim-patch:8.2.2804: setting buffer local mapping with mapset() changes global
...
Problem: Setting buffer local mapping with mapset() changes global mapping.
Solution: Only set the local mapping. (closes vim/vim#8143 )
https://github.com/vim/vim/commit/7ba1e4d363164e32a93cceab64b42e8c6d89e9f3
2022-08-01 21:54:18 +08:00
zeertzjq
7d45f1a5e8
vim-patch:8.2.1773: crash when calling mapset() with a list as first argument
...
Problem: Crash when calling mapset() with a list as first argument.
Solution: Check for NULL. (closes vim/vim#7040 )
https://github.com/vim/vim/commit/1b9129809d8269acb8e7c79d8fc99c7976b4f76e
2022-08-01 21:54:18 +08:00
zeertzjq
6963c2bdcd
vim-patch:8.2.0815: maparg() does not provide enough information for mapset()
...
Problem: maparg() does not provide enough information for mapset().
Solution: Add "lhsraw" and "lhsrawalt" items. Drop "simplified"
https://github.com/vim/vim/commit/9c65253fe702ea010afec11aa971acd542c35de2
vim-patch:9.0.0127: unused variable
Problem: Unused variable.
Solution: Remove the variable. (closes vim/vim#10829 )
https://github.com/vim/vim/commit/e95f22f63a1871b91e5508088e5ae4905ce28cd7
2022-08-01 21:54:18 +08:00
zeertzjq
5c72640bc2
vim-patch:8.2.0812: mapset() does not properly handle <> notation
...
Problem: mapset() does not properly handle <> notation.
Solution: Convert <> codes. (closes vim/vim#6116 )
https://github.com/vim/vim/commit/c94c1467b9b86156a6b7c8d3e41ff01c13d2be07
2022-08-01 21:54:18 +08:00
zeertzjq
083865071b
vim-patch:8.2.0807: cannot easily restore a mapping
...
Problem: Cannot easily restore a mapping.
Solution: Add mapset().
https://github.com/vim/vim/commit/4c9243f9fb708c9010867d3cc8e928f36b58509a
Use MapArgument to reduce number of arguments of map_add().
N/A patches for version.c:
vim-patch:8.2.0809: build failure with small features
Problem: Build failure with small features. (Tony Mechelynck)
Solution: Move "expr" inside #ifdef.
https://github.com/vim/vim/commit/5a80f8ad5dc0b2cc63400255dcf3c63f6c1a2ef9
2022-08-01 21:54:18 +08:00
ii14
db6e93c48d
feat(api): add replace_keycodes to nvim_set_keymap ( #19598 )
2022-08-01 21:35:08 +08:00
LaurenceWarne
9f5d5aa3da
Use Strings instead of Tables in vim.filetype.matchregex Doc ( #19604 )
...
docs: use strings instead of tables in vim.filetype.matchregex doc
2022-08-01 06:45:43 -06:00
Gustavo Sampaio and Yuta Katayama
ece0850b73
fix(session): respect sessionoptions=terminal #19497
...
fixes #13078
Co-authored-by: Yuta Katayama <8683947+yutkat@users.noreply.github.com >
2022-08-01 05:13:46 -07:00
Lewis Russell
bcb4186cf6
refactor: replace_makeprg ( #19570 )
2022-08-01 12:02:53 +01:00
zeertzjq
8952def50a
Merge pull request #19595 from zeertzjq/vim-9.0.0124
...
vim-patch:9.0.0124: code has more indent than needed
2022-08-01 07:22:24 +08:00
zeertzjq
975a273125
test(old): unskip test that already passes
2022-08-01 06:54:35 +08:00
zeertzjq
c9ca90229b
vim-patch:9.0.0124: code has more indent than needed
...
Problem: Code has more indent than needed.
Solution: Use continue and return statements. (closes vim/vim#10824 )
https://github.com/vim/vim/commit/101d57b34b72f4fbc7df1b6edfd64c64a6be14fc
2022-08-01 06:18:52 +08:00
bfredl
68ec497d52
Merge pull request #19437 from dundargoc/refactor/char_u-to-char
...
refactor: replace char_u with char
2022-07-31 15:55:01 +02:00
Munif Tanjim
86110ec933
fix(highlight): add missing 'nocombine' to nvim_get_hl_* apis ( #19586 )
2022-07-31 13:38:00 +02:00
zeertzjq
380417c1dd
Merge pull request #19587 from Shougo/vim-9.0.0114
...
vim-patch:9.0.{0114,0115,0118}
2022-07-31 19:13:45 +08:00
zeertzjq
2c522854c7
vim-patch:9.0.0118: no test for what patch 9.0.0155 fixes
...
Problem: No test for what patch 9.0.0155 fixes.
Solution: Add a test. Fix typos. (closes vim/vim#10822 )
https://github.com/vim/vim/commit/750209459c9e54030409afe8f4ad59570600b5c4
2022-07-31 18:51:06 +08:00