| Commit message (Collapse) | Author | Age |
... | |
| | |/ /
| | | |
| | | |
| | | | |
Reduces #ifdef code.
|
| | | | |
|
| | | | |
|
| | | | |
|
| |\ \ \
| | | | |
| | | | | |
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.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
| | |/ /
| |/| |
| | | |
| | | | |
Add -Wno-strict-prototypes flag to external dependencies to suppress
cjson warnings. These needs to be fixed upstream first.
|
| | | | |
|
| |\ \ \
| | | | |
| | | | | |
fix(nvim): 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>
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Luacheckrc file is not recognized.
Solution: Use lua filetype for luacheckrc. (closes vim/vim#11236)
https://github.com/vim/vim/commit/49c311c9b18e18c05f93728d1f8a552923a18423
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: New TypeScript extensions are not recognized.
Solution: Recognize .mts and .cts files. (closes vim/vim#11237)
https://github.com/vim/vim/commit/7fc6c0e4dab4e80b9806a973936af54276468513
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: GYP files are not recognized.
Solution: Recognize GYP files. (closes vim/vim#11242)
https://github.com/vim/vim/commit/d32474229213276c64cb293885a975dcb406fbc9
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
Problem: Latexmkrc files are not recognized.
Solution: Use Perl filetype for latexmkrc files. (closes vim/vim#11241)
https://github.com/vim/vim/commit/cde031938537970938437cdbb235bc0da755ae4a
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
(#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.
https://github.com/vim/vim/commit/1190139ed01c27539615beea9559a88b2551daf3
Cherry-pick Test_message_more_scrolledback() from patch 9.0.0592 because
Nvim already behaves as intended.
|
| | | |
|
| | | |
|
| |\ \
| | | |
| | | | |
fix(cmdline): don't send invalid cursor with incsearch and cmdheight=0
|
| | | |
| | | |
| | | |
| | | | |
fixes #20306
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| | |
| | |
| | |
| | | |
fixes #20316
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Fix those naughty single quotes.
closes #20159
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Missing change in test.
Solution: Add the test change.
https://github.com/vim/vim/commit/124af71a28a633fa655cff41bc21d398481ce45f
vim-patch:9.0.0585: when long message test fails the error message is not visible
Problem: When long message test fails the error message is not visible.
Solution: Dump more lines.
https://github.com/vim/vim/commit/6a879878f4e1918a05244e6acd4c73c3135cf941
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When :undo! was introduced to Nvim the implementation of 'inccommand'
preview callback hasn't been fully decided yet, so not notifying buffer
update callbacks made sense for 'inccommand' preview callback in case it
needs to undo the changes itself.
Now it turns out that the undo-and-forget is done automatically for
'inccommand', so it doesn't make sense for :undo! to avoid notifying
buffer update callbacks anymore.
|
| |/ |
|
| |
| |
| |
| | |
It's confusing to mix vendored dependencies with neovim source code. A
clean separation is simpler to keep track of and simpler to document.
|
| |
| |
| |
| |
| | |
Problem: Only recognizing .m3u8 files is inconsistent.
Solution: Also matc .m3u files. (issue vim/vim#11204)
https://github.com/vim/vim/commit/b9725bc7f6427654eb4e35874034b0ec1b6b96b3
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem:
Cannot opt-out of "WARNING: The file has been changed since reading
it!!!", even with ":write!".
Solution:
Change ":write!" to skip the warning.
closes #7270
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Running filetype test leaves file behind.
Solution: Delete the file.
https://github.com/vim/vim/commit/0e71b7d4ce3e1210150ce772e1af6956057a71ed
vim-patch:8.2.4466: MS-Windows: illegal memory access in installer
Problem: MS-Windows: illegal memory access in installer when using
"create-directories" as the final argument.
Solution: Check the argument count. (Cam Sinclair, closes vim/vim#9844)
https://github.com/vim/vim/commit/5c6edf41f9beffea21ce45d658822cc4c0745fdb
|
| |
| |
| |
| |
| | |
Problem: Unused loop variables.
Solution: Use a while loop instead. (closes vim/vim#11214)
https://github.com/vim/vim/commit/b2209f213e2931cf3313b24868a9165bbb717cc4
|
| | |
|
| |
| |
| |
| |
| |
| | |
Problem: Insert complete tests leave a mapping behind.
Solution: Use a buffer-local mapping. (closes vim/vim#11211)
https://github.com/vim/vim/commit/75f4bafabdcc6bce5cf3e09fee29c634bf102c17
|
| |
| |
| |
| |
| |
| | |
Problem: 'completeopt' "longest" is not used for complete().
Solution: Also use "longest" for complete(). (Bjorn Linse, closes vim/vim#11206)
https://github.com/vim/vim/commit/87af60c91503e37c9144f8e48022b12994ce2c85
|
| | |
|
| |
| |
| |
| |
| |
| | |
Problem: Autocmd code is indented more than needed.
Solution: Break out sooner. (Yegappan Lakshmanan, closes vim/vim#11208)
Also in user function code.
https://github.com/vim/vim/commit/e9dcf13a3007d4f603e007e0526b0005fd026bc5
|
| |
| |
| |
| |
| | |
Problem: Nim files are not recognized.
Solution: Add patterns for Nim files. (Nbiba Bedis, closes vim/vim#11205)
https://github.com/vim/vim/commit/9fd1583c839c5e43b0d48ec815a79005a2364776
|
| |
| |
| |
| |
| |
| | |
Problem: HSL playlist files are not recognized.
Solution: Add a pattern to recognize HSL palylist files. (Benoît Ryder,
closes vim/vim#11204)
https://github.com/vim/vim/commit/35fdd9a67d73d4750152c419d4193ebb6b6d6eee
|
| |
| |
| |
| |
| | |
Problem: Timer test may get stuck at hit-enter prompt.
Solution: Feed some more characters.
https://github.com/vim/vim/commit/4ecf16bbf951f10fd32c918c9d8bc004b7f8f7c9
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Crash when closing a tabpage and buffer is NULL.
Solution: Adjust how autocommands are triggered when closing a window.
(closes vim/vim#11198, closes vim/vim#11197)
https://github.com/vim/vim/commit/62de54b48d6354d4622ec0b21ffa4cf3cf312505
|
| |
| |
| |
| |
| |
| | |
Problem: Minor issues with setting a string option.
Solution: Adjust the code, add a test. (closes vim/vim#11192)
https://github.com/vim/vim/commit/fcba86c0316dc0d6341078b50e7967206a1627a0
|
| |
| |
| |
| |
| |
| | |
Problem: Assigning stack variable to argument confuses Coverity.
Solution: Use a local pointer, also makes the code simpler.
https://github.com/vim/vim/commit/6f98114e4a5db3917c4f9d2fec09e11b4b0d0be5
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Long message test can be flaky.
Solution: Wait for more prompt instead of ruler.
https://github.com/vim/vim/commit/21d393a12be86126d9326ea0c244d3a101b77151
Comment N/A lines out instead of deleting in buftype tests.
|
| |
| |
| |
| |
| |
| | |
Before only win_line lines were considered. this applies nodelta
to all screen elements. Causes some failures, which might indeed
indicate excessive redraws.
|
| |
| |
| |
| |
| | |
fixes #20106
fixes #20229
|
| |
| |
| |
| |
| |
| | |
Problem: The Athena GUI support is outdated.
Solution: Remove the Athena GUI code.
https://github.com/vim/vim/commit/0b962e5685edd41b55d5427b894797e725707639
|
| |
| |
| |
| |
| |
| | |
Problem: Going over the end of NameBuff.
Solution: Check length when appending a space.
https://github.com/vim/vim/commit/de05bb25733c3319e18dca44e9b59c6ee389eb26
|
| |
| |
| |
| |
| |
| | |
Problem: Ctrl-hat test fails with Athena and Motif. (Elimar Riesebieter)
Solution: Run the test only with GTK. (Dominique Pellé, closes vim/vim#9069)
https://github.com/vim/vim/commit/8753c1dd2c2a5c2c7ff63a9bfb14cd4b9bb9c87f
|