bfredl
7ea09dde5f
Merge pull request #17136 from zeertzjq/vim-8.2.4133
...
vim-patch:8.2.4133: output of ":scriptnames" goes into the message history
2022-01-27 13:43:27 +01:00
Thomas Vigouroux
8c140be31f
feat(ts): expose minimum language version to lua ( #17186 )
2022-01-27 12:46:56 +01:00
Lewis Russell
f9080b24c4
fix(ts): escape lang when loading parsers ( #16668 )
...
When trying to load a language parser, escape the value of
the language.
With language injection, the language might be picked up from the
buffer. If this value is erroneous it can cause `nvim_get_runtime_file`
to hard error.
E.g., the markdown expression `~~~{` will extract '{' as a language and
then try to get the parser using `parser/{*` as the pattern.
2022-01-27 10:42:59 +01:00
bfredl
2320f705c4
Merge pull request #17195 from dundargoc/refactor/assert-include
...
refactor: include missing assert header
2022-01-27 10:23:36 +01:00
bfredl
3d0149f984
Merge pull request #17191 from zeertzjq/vim-8.2.4203
...
vim-patch:8.2.4203: entering a character with CTRL-V may include modifiers
2022-01-27 09:00:01 +01:00
zeertzjq
a9f112ce3a
vim-patch:8.2.4133: output of ":scriptnames" goes into the message history
...
Problem: output of ":scriptnames" goes into the message history, while this
des not happen for other commands, such as ":ls".
Solution: Use msg_outtrans() instead of smsg(). (closes vim/vim#9551 )
840f16202e
2022-01-27 15:55:06 +08:00
bfredl
9c4e617064
Merge pull request #17166 from Shougo/vim-8.2.4160
...
vim-patch:8.2.4160: cannot change the register used for Select mode d…
2022-01-27 08:52:08 +01:00
bfredl
c4b906f341
Merge pull request #17110 from zeertzjq/vim-8.2.3630
...
vim-patch:8.2.{3630,3663}: printf() with %S does not handle multi-byte correctly
2022-01-27 08:50:38 +01:00
bfredl
1270949c11
Merge pull request #17150 from zeertzjq/vim-8.2.4166
...
vim-patch:8.2.4166: undo synced when switching buffer in another window
2022-01-27 08:48:31 +01:00
bfredl
618f7079e5
Merge pull request #17135 from seandewar/vim-8.2.0175
...
vim-patch:8.2.0175: crash when removing list element in map()
2022-01-27 08:47:01 +01:00
bfredl
95b8a8f6ae
Merge pull request #17131 from zeertzjq/vim-8.2.3580
...
vim-patch:8.2.3580: gj does not move properly with a wide character
2022-01-27 08:41:29 +01:00
bfredl
480fbbe296
Merge pull request #17145 from zeertzjq/vim-8.2.0128
...
vim-patch:8.2.0128: cannot list options one per line
2022-01-27 08:37:36 +01:00
bfredl
0813b9fde4
Merge pull request #17094 from zeertzjq/vim-8.2.4091
...
vim-patch:8.2.4091: virtcol is recomputed for statusline unnecessarily
2022-01-27 08:35:52 +01:00
bfredl
d50dd12725
Merge pull request #17095 from zeertzjq/vim-8.2.3227
...
vim-patch:8.2.{3227,3280,4094}: global-local 'virtualedit'
2022-01-27 08:34:57 +01:00
bfredl
55ad48d939
Merge pull request #17155 from zeertzjq/vim-8.2.3121
...
vim-patch:8.2.{3121,3410}: two 'listchars' fixes
2022-01-27 08:32:52 +01:00
bfredl
47b50d5a1c
Merge pull request #17174 from zeertzjq/vim-8.2.3153
...
vim-patch:8.2.3153: URLs with a dash in the scheme are not recognized
2022-01-27 08:32:02 +01:00
bfredl
f1b91fcdbd
Merge pull request #17102 from zeertzjq/vim-8.2.1762
...
vim-patch:8.2.1762: when a timer uses :stopinsert completion isn't stopped
2022-01-27 08:31:17 +01:00
bfredl
00915864f7
Merge pull request #17184 from zeertzjq/vim-8.2.4190
...
vim-patch:8.2.4190: all conceal tests are skipped without the screendumps feature
2022-01-27 08:30:24 +01:00
Christian Clason
6006e15e7a
Merge pull request #17205 from clason/vim-8.2.4214
...
Vim 8.2.{4214,4215,4217,4219} various illegal memory accesses
2022-01-26 22:39:45 +01:00
Christian Clason
540264306b
vim-patch:8.2.4219: reading before the start of the line
...
Problem: Reading before the start of the line.
Solution: Check boundary before trying to read the character.
44db8213d3
2022-01-26 22:02:56 +01:00
Christian Clason
e9247b0d5d
vim-patch:8.2.4217: illegal memory access when undo makes Visual area invalid
...
Problem: Illegal memory access when undo makes Visual area invalid.
Solution: Correct the Visual area after undo.
8d02ce1ed7
vim-patch:8.2.4218: illegal memory access with bracketed paste in Ex mode (N/A)
2022-01-26 22:01:19 +01:00
Christian Clason
b2b288f33c
vim-patch:8.2.4215: illegal memory access when copying lines in Visual mode
...
Problem: Illegal memory access when copying lines in Visual mode.
Solution: Adjust the Visual position after copying lines.
dc5490e2cb
2022-01-26 22:00:29 +01:00
Christian Clason
de673966c3
vim-patch:8.2.4214: illegal memory access with large 'tabstop' in Ex mode
...
Problem: Illegal memory access with large 'tabstop' in Ex mode.
Solution: Allocate enough memory.
85b6747abc
2022-01-26 21:34:26 +01:00
Christian Clason
17e2938b10
Merge pull request #17132 from zeertzjq/vim-8.2.3611
...
vim-patch:8.2.{3494,3611,3613}: two Visual mode crash fixes
2022-01-26 21:33:53 +01:00
Dundar Göc
b7dc4491a9
refactor: include missing assert header
...
This will solve the "implicit declaration of function ‘assert’" warning
when running "make lint".
2022-01-26 20:44:45 +01:00
James McCoy
20482a2b83
Merge pull request #17204 from dundargoc/ci/windows/python-version
2022-01-26 13:43:38 -05:00
Dundar Göc
16d64796f4
ci(windows): use the provided python from github actions
...
This will prevent future errors whenever support for a specific python
version we rely on is removed.
2022-01-26 16:40:43 +01:00
dundargoc
ecec957125
vim-patch:8.2.4196: various file types not recognized ( #17182 )
...
Problem: Various file types not recognized.
Solution: Add patterns to recognize more file types (closes vim/vim#9607 )
428058ab32
2022-01-25 08:22:15 +01:00
zeertzjq
95873aa3eb
test: add more tests for Insert mode Ctrl-V
2022-01-25 08:29:04 +08:00
zeertzjq
3d9ff675f8
vim-patch:8.2.4203: entering a character with CTRL-V may include modifiers
...
Problem: Entering a character with CTRL-V may include modifiers.
Solution: Reset "mod_mask" when entering a character with digits after
CTRL-V. (closes vim/vim#9610 )
502d8ae3e8
Commenting out test_override() as before.
Commenting out part of CheckNotFeature() because Vim patch 8.2.0427
cannot be ported without breaking a lot of oldtests that check for
removed features.
2022-01-25 08:21:20 +08:00
bfredl
1b6ae2dbb0
Merge pull request #15910 from glacambre/silent_stdioopen
...
feat(--headless): do not print anything when stdioopen() has been used
2022-01-24 22:33:55 +01:00
glacambre
a4069a3eed
feat(--headless): add on_print callback to stdioopen
...
This commit adds an on_print callback to stdioopen's dictionary
argument which lets the caller specify a function called each time
neovim will try to output something to stdout (e.g. on "echo" or
"echoerr" in --headless mode).
2022-01-24 13:59:16 +01:00
James McCoy
1907a94814
Merge pull request #17143 from jamessan/coverity-fixes
...
Various Coverity fixes
2022-01-24 06:28:09 -05:00
zeertzjq
c0a97d982a
test(unit): add unit tests for path_with_url
2022-01-24 13:01:35 +08:00
zeertzjq
9bb9f17592
vim-patch:8.2.3153: URLs with a dash in the scheme are not recognized
...
Problem: URLs with a dash in the scheme are not recognized.
Solution: Allow for a scheme with a dash, but not at the start or end.
(Tsuyoshi CHO, closes vim/vim#8299 )
7b7a118e74
2022-01-24 13:01:35 +08:00
zeertzjq
1b184cea3b
vim-patch:8.2.4190: all conceal tests are skipped without the screendumps feature
...
Problem: All conceal tests are skipped without the screendumps feature.
Solution: Only skip the tests that use screendumps. (closes vim/vim#9599 )
206919191f
2022-01-24 11:10:37 +08:00
bfredl
7e2ce35e3b
Merge pull request #17156 from zeertzjq/vim-8.2.3584
...
vim-patch:8.2.{3584,3586,3587}: :command "-keepscript" argument
2022-01-23 19:42:30 +01:00
bfredl
f20bd439df
Merge pull request #17168 from zeertzjq/ins-char-typebuf-mods
...
fix(input): put modifiers back into typeahead buffer when needed
2022-01-23 19:40:59 +01:00
Christian Clason
4ba7fa1700
vim-patch:6f4754b9f725 ( #17179 )
...
Update runtime files
6f4754b9f7
2022-01-23 18:38:41 +01:00
Christian Clason
28352dc6e5
vim-patch:8.2.4188: not all gitconfig files are recognized ( #17178 )
...
Problem: Not all gitconfig files are recognized.
Solution: Add a few more patterns. (Tim Pope, closes vim/vim#9597 )
bcfa11b7df
2022-01-23 17:50:45 +01:00
dundargoc
ffd9551aa2
vim-patch:8.2.4191: json5 files are not recognized ( #17180 )
...
Problem: json5 files are not recognized.
Solution: Add a pattern for json5 files. (closes vim/vim#9601 )
e15ebeffb3
2022-01-23 16:19:48 +01:00
Christian Clason
3d62dd2077
vim-patch:8.2.4187: gnuplot file not recognized ( #17177 )
...
Problem: Gnuplot file not recognized.
Solution: Recognize ".gnuplot". (closes vim/vim#9588 )
ff5cbe8133
2022-01-23 13:52:37 +01:00
zeertzjq
0efe1ec6b3
test(input): add more tests for K_SPECIAL escaping in ins_char_typebuf()
2022-01-23 05:58:32 +08:00
zeertzjq
818456470c
fix(input): put modifiers back into typeahead buffer when needed
2022-01-23 05:58:32 +08:00
Thomas Vigouroux
7717f38d3f
Merge pull request #17169 from clason/bump-treesitter
...
build(deps): bump tree-sitter to v0.20.3
2022-01-22 18:39:14 +01:00
Christian Clason
db9cfb18e1
build(deps): bump tree-sitter to v0.20.3
...
this version contains massive performance improvements as well as a new
`--abi` flag that allows generating backward compatible parsers
2022-01-22 09:02:06 +01:00
Shougo Matsushita
d7ab4e819a
vim-patch:8.2.4160: cannot change the register used for Select mode delete
...
Problem: Cannot change the register used for Select mode delete.
Solution: Make CTRL-R set the register to be used when deleting text for
Select mode. (Shougo Matsushita, closes vim/vim#9531 )
4ede01f188
2022-01-22 11:57:06 +09:00
bfredl
e07a4b97f6
Merge pull request #16936 from zeertzjq/no-escape-csi
...
input: never escape CSI bytes and clean up related names and comments
2022-01-21 18:04:40 +01:00
bfredl
be22cc1264
Merge pull request #17076 from notomo/expose-extmark-more-details
...
feat(api): expose extmark more details
2022-01-21 18:02:47 +01:00
Christian Clason
9d02fc4c00
vim-patch:8.2.4172: filetype detection for BASIC is not optimal ( #17161 )
...
Problem: Filetype detection for BASIC is not optimal.
Solution: Improve BASIC filetype detection. (Doug Kearns)
6517f14165
2022-01-21 16:45:32 +01:00