bfredl
b414e9fdbb
Merge pull request #20364 from zeertzjq/parse-cmd-omit
...
fix(api)!: nvim_parse_cmd omit "count" "range" "reg" if not supported
2022-09-30 09:59:45 +02:00
dundargoc
df646572c5
docs: fix typos ( #20394 )
...
Co-authored-by: Raphael <glephunter@gmail.com>
Co-authored-by: smjonas <jonas.strittmatter@gmx.de>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
2022-09-30 09:53:52 +02:00
bfredl
9cf252e121
Merge pull request #20387 from famiu/feat/nvim_cmd/buffer-args
...
feat(nvim_cmd)!: allow using first argument as count
2022-09-30 09:43:18 +02:00
zeertzjq
cb62592bcb
fix(api)!: nvim_parse_cmd omit "count" "range" "reg" if not supported
2022-09-30 11:24:23 +08:00
Jonas Strittmatter
33dd917d7f
fix(filetype): add missing return to changelog detection function ( #20403 )
2022-09-29 16:26:19 +02:00
Sergey Berezhnoy
94718e479d
fix(query): fix unnatural order for inherits in treesitter queries ( #20298 )
...
close #20297
2022-09-29 16:25:07 +02:00
Famiu Haque
e46eef75ac
feat(nvim_cmd): allow using first argument as count
...
Allows `nvim_cmd` to use the first argument as count for applicable
commands. Also adds support for non-String arguments to `nvim_cmd`.
2022-09-29 19:31:40 +06:00
dundargoc
f9228577e8
ci: convert CRLF to LF ( #20389 )
2022-09-29 14:31:12 +02:00
Justin M. Keyes
d9f5940997
Merge #20402 feat(docs): improve :help HTML generator
2022-09-29 07:46:14 -04:00
Justin M. Keyes
563bc39aac
feat(docs): fixes for :help HTML generator
...
Generate correct leading whitespace for argument, taglink, tag, etc.
2022-09-29 13:26:12 +02:00
Justin M. Keyes
561c99c86a
feat(treesitter): update :help parser
2022-09-29 13:08:43 +02:00
James McCoy
c7cc6591c1
Merge pull request #20381 from cryptomilk/asn-vterm
...
build(deps): require libvterm version 0.3
2022-09-29 07:00:44 -04:00
James McCoy
0f04c14c0d
Merge pull request #20382 from cryptomilk/asn-termkey
...
build(deps): require libtermkey version 0.22
2022-09-29 06:59:28 -04:00
zeertzjq
45707c1eae
fix(api): fix nvim_cmd crash with filename expansion ( #20397 )
2022-09-29 16:04:14 +08:00
zeertzjq
1cf44d6f57
fix(column): move sign sentinel after inserting/deleting lines ( #20400 )
2022-09-29 15:48:39 +08:00
zeertzjq
a80ab395aa
test: add a Lua test for #17501 ( #20392 )
2022-09-29 08:56:00 +08:00
bfredl
e8ff432922
Merge pull request #20390 from bfredl/doc2
...
docs: mark cmdheight=0 and vim.ui_attach as experimental
2022-09-28 19:00:54 +02:00
Justin M. Keyes
268bad4798
Merge #20352 feat(gen_help_html.lua): adapt to new parser
2022-09-28 12:55:52 -04:00
Justin M. Keyes
16336c486e
feat(gen_help_html.lua): adapt to new parser
...
- adapt to parser changes from https://github.com/vigoux/tree-sitter-vimdoc/pull/16
- numerous other generator improvements
2022-09-28 18:34:20 +02:00
Justin M. Keyes
7b4c49888a
feat(gen_help_html.lua): put commit-id in footer
2022-09-28 17:31:59 +02:00
Justin M. Keyes
d9ed8d1110
feat(treesitter): update :help parser and queries
2022-09-28 17:31:56 +02:00
Christian Clason
cd96fe06e1
build(deps): bump treesitter-vimdoc to v1.0.0
2022-09-28 16:39:42 +02:00
Christian Clason
a5effcedd2
build(deps): bump help parser and queries ( #20388 )
2022-09-28 16:29:35 +02:00
bfredl
47b821eccf
docs: mark cmdheight=0 and vim.attach_ui as experimental
...
These will require further work for user experience out of the box
during the 0.9 cycle.
2022-09-28 16:18:04 +02:00
zeertzjq
bafeb32b95
fix(spell): correct spell move behavior without "noplainbuffer" ( #20386 )
2022-09-28 21:55:22 +08:00
bfredl
3965210055
Merge pull request #20375 from famiu/refactor/get_option
...
refactor: replace unnecessary helper functions in optionstr.c
2022-09-28 14:28:12 +02:00
Christian Clason
9ca313fb96
vim-patch:9fbdbb814f4a ( #20376 )
...
Update runtime files
9fbdbb814f
Skip ftplugin/vim.vim (vim9script change)
Drop indent/vim.vim and autoload/dist/vimindent.vim (vim9script rewrite)
2022-09-28 12:48:36 +02:00
zeertzjq
35e2c4a2ed
fix(lua): fix architecture-dependent behavior in usercmd "reg" ( #20384 )
...
I don't think using an integer as a NUL-terminated string can work on
big-endian systems, at least.
This is also not tested. Add a test.
Also fix a mistake in the docs of nvim_parse_cmd.
2022-09-28 18:27:59 +08:00
Christian Clason
eb4844b5ed
build(macos): restore and test universal build ( #20383 )
...
Build tree-sitter parsers for arm64 as well as x86
Check that all created binaries contain both architectures
2022-09-28 11:06:11 +02:00
dundargoc
d7358118aa
fix: compiler warnings from clang 15 ( #20321 )
...
Add -Wno-strict-prototypes flag to external dependencies to suppress
cjson warnings. These needs to be fixed upstream first.
2022-09-28 10:53:44 +02:00
Andreas Schneider
6917a2e569
build(deps): require libvterm version 0.3
2022-09-28 10:13:48 +02:00
Andreas Schneider
6427dc8ab6
build(deps): require libtermkey version 0.22
...
Reduces #ifdef code.
2022-09-28 09:41:18 +02:00
Famiu Haque
4b7904d16b
refactor: replace unnecessary helper functions in optionstr.c
...
Replaces unnecessary helper functions in `optionstr.c` such as
`get_option_flags()`, `get_option_fullname()`, `set_option_flag()`,
`is_global_option()`, etc. with a single `get_option()` helper function
that allows direct access to the `options` array.
Also refactors `f_exists()` to use `get_varp_scope` instead of using
`get_option_tv`. This opens up the path for removing `getoptions_T`
altogether later down the line since the hidden option logic is no
longer needed.
2022-09-28 09:29:43 +06:00
zeertzjq
e6c214033a
fix(window): fix equalization with cmdheight=0 ( #20369 )
2022-09-28 06:22:11 +08:00
bfredl
d84abfeb1d
Merge pull request #15373 from smolck/lua-notify-dictwatcher
...
fix(nvim): notify dict watchers on nvim_set_var and vim.g setter
2022-09-27 18:16:58 +02:00
ObserverOfTime
f46060c4cb
vim-patch:9.0.0604: luacheckrc file is not recognized ( #20371 )
...
Problem: Luacheckrc file is not recognized.
Solution: Use lua filetype for luacheckrc. (closes vim/vim#11236 )
49c311c9b1
2022-09-27 16:10:19 +02:00
dundargoc
6afe5cce79
ci(backport): bump to backport-action@v0.0.8 #20366
...
Primary bug fix is allowing backports with empty PR description.
2022-09-27 05:53:48 -07:00
smolck
c7d30c152d
fix(api): notify dict watchers on nvim_set_var and vim.g setter
...
Co-authored-by: bfredl <bjorn.linse@gmail.com>
Co-authored-by: Christian Clason <c.clason@uni-graz.at>
2022-09-27 14:47:53 +02:00
Christian Clason
4278a2d359
Merge pull request #20368 from clason/vim-9.0.0599
...
vim-patch:9.0.0602: new TypeScript extensions are not recognized
Problem: New TypeScript extensions are not recognized.
Solution: Recognize .mts and .cts files. (closes vim/vim#11237 )
7fc6c0e4da
vim-patch:9.0.0600: GYP files are not recognized
Problem: GYP files are not recognized.
Solution: Recognize GYP files. (closes vim/vim#11242 )
d324742292
vim-patch:9.0.0599: latexmkrc files are not recognized
Problem: Latexmkrc files are not recognized.
Solution: Use Perl filetype for latexmkrc files. (closes vim/vim#11241 )
cde0319385
2022-09-27 14:02:10 +02:00
Christian Clason
fe0727a1bf
vim-patch:9.0.0602: new TypeScript extensions are not recognized
...
Problem: New TypeScript extensions are not recognized.
Solution: Recognize .mts and .cts files. (closes vim/vim#11237 )
7fc6c0e4da
2022-09-27 13:04:34 +02:00
Christian Clason
e176f9dacf
vim-patch:9.0.0600: GYP files are not recognized
...
Problem: GYP files are not recognized.
Solution: Recognize GYP files. (closes vim/vim#11242 )
d324742292
2022-09-27 12:39:09 +02:00
Christian Clason
760a8754c0
vim-patch:9.0.0599: latexmkrc files are not recognized
...
Problem: Latexmkrc files are not recognized.
Solution: Use Perl filetype for latexmkrc files. (closes vim/vim#11241 )
cde0319385
2022-09-27 12:37:44 +02:00
zeertzjq
1d337d4e2f
vim-patch:9.0.0595: extra newline in messages after a verbose shell message ( #20359 )
...
Problem: Extra newline in messages after a verbose shell message.
Solution: Output the newline with msg_putchar_attr(). (closes vim/vim#11233 )
Make it possible to filter a screendump before comparing it.
1190139ed0
Cherry-pick Test_message_more_scrolledback() from patch 9.0.0592 because
Nvim already behaves as intended.
2022-09-27 08:29:21 +08:00
zeertzjq
7e98821e56
fix(ui): redraw end of buffer if last line is modified ( #20354 )
2022-09-27 06:33:48 +08:00
Justin M. Keyes
9a5ac06509
fix(docs): invalid :help links #20353
...
ref #20159
2022-09-26 06:56:07 -07:00
zeertzjq
be693462d5
fix(ui): allow redrawing statusline when msgsep is used ( #20337 )
2022-09-26 21:23:43 +08:00
bfredl
c7e74f7889
Merge pull request #20351 from bfredl/cmdfix2
...
fix(cmdline): don't send invalid cursor with incsearch and cmdheight=0
2022-09-26 13:30:19 +02:00
bfredl
be72af2f9b
fix(cmdline): don't send invalid cursor with incsearch and cmdheight=0
...
fixes #20306
2022-09-26 13:29:55 +02:00
dundargoc
c815aadfcc
docs: fix typos ( #20150 )
...
Co-authored-by: Miguel Carneiro <mcarneiromorenas@gmail.com>
Co-authored-by: Gregory Anders <greg@gpanders.com>
Co-authored-by: Raphael <glephunter@gmail.com>
Co-authored-by: C.D. MacEachern <craig.daniel.maceachern@gmail.com>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
2022-09-26 17:43:23 +08:00
bfredl
fe045bfd5f
Merge pull request #20350 from bfredl/cmdfix
...
fix(messages): validate msg_grid before silent! message with cmdheight=0
2022-09-26 11:25:15 +02:00