]> git.ipfire.org Git - thirdparty/vim.git/log
thirdparty/vim.git
23 months agodefaults.vim: Update comment to simplify reverting augroup
Balki [Fri, 14 Jul 2023 16:59:40 +0000 (16:59 +0000)] 
defaults.vim: Update comment to simplify reverting augroup

closes: #12673

23 months agopatch 9.0.1681: Build Failure with Perl 5.38 v9.0.1681
Philip H [Thu, 22 Jun 2023 06:55:47 +0000 (08:55 +0200)] 
patch 9.0.1681: Build Failure with Perl 5.38

Problem: Build Failure with Perl 5.38
Solution: Fix Build Failure

closes: #12543, closes: #12575

23 months agopatch 9.0.1680: sodium test fails in Github CI v9.0.1680
Christian Brabandt [Wed, 9 Aug 2023 14:32:28 +0000 (16:32 +0200)] 
patch 9.0.1680: sodium test fails in Github CI

Problem:    sodium test fails in Github CI
Solution:   Catch sodium_mlock() errors and do not error out

sodium_mlock() seems to fail consistently on the Github CI. Perhaps
[sodium_mlock()](https://libsodium.gitbook.io/doc/memory_management#text-locking-memory)
is called too often or with too much memory by the runners so
that this starts failing.

Let's just try to catch this and skip the test, when this starts
happening.

closes: #12751

23 months agoChange "the" to "then" under ':help bufload()' (#12662)
Daniel Steinberg [Wed, 9 Aug 2023 16:10:59 +0000 (12:10 -0400)] 
Change "the" to "then" under ':help bufload()' (#12662)

23 months agoManpager: apply g flag conditionally to s command (#12679)
Filip Gospodinov [Wed, 9 Aug 2023 16:00:36 +0000 (18:00 +0200)] 
Manpager: apply g flag conditionally to s command (#12679)

Problem: The `s` command with `g` flag only substitutes
         one occurrence when `gdefault` is set.
Solution: Use `g` flag conditionally.

23 months agoupdate matchit (#12611)
Christian Brabandt [Wed, 9 Aug 2023 15:39:53 +0000 (17:39 +0200)] 
update matchit (#12611)

23 months agoFix alignment in filetype.txt (#12618)
zeertzjq [Wed, 9 Aug 2023 15:39:05 +0000 (23:39 +0800)] 
Fix alignment in filetype.txt (#12618)

There are three spaces because the "<" is concealed.

23 months agofeat: recognize geojson extension as json filetype (#12636)
Dominique Pellé [Wed, 9 Aug 2023 15:36:40 +0000 (17:36 +0200)] 
feat: recognize geojson extension as json filetype (#12636)

23 months agoAdd filetype detection for eyaml files (#12659)
Max Gautier [Wed, 9 Aug 2023 15:18:36 +0000 (17:18 +0200)] 
Add filetype detection for eyaml files (#12659)

https://github.com/voxpupuli/hiera-eyaml/ uses and produces the eyaml
format, which is simply yaml with some encrypted values.

It's convenient to edit the file without decrypting when not touching
encrypted values (or when you don't have access to the decryption key),
which is why vim should treat those files as yaml files.

23 months agoHighlight editorconfig properties with dashes (#12691)
ObserverOfTime [Wed, 9 Aug 2023 15:05:39 +0000 (18:05 +0300)] 
Highlight editorconfig properties with dashes (#12691)

Problem: editorconfig properties with dashes are not highlighted
Solution: update the property pattern to include dashes

23 months agodetect filetype for `*.vsh` and `*.vv` files (#12692)
Turiiya [Wed, 9 Aug 2023 15:04:59 +0000 (17:04 +0200)] 
detect filetype for `*.vsh` and `*.vv` files (#12692)

Co-authored-by: Turiiya <34311583+tobealive@users.noreply.github.com>
23 months agoPyPA manifest files are not recognized (#12707)
ObserverOfTime [Wed, 9 Aug 2023 14:52:33 +0000 (17:52 +0300)] 
PyPA manifest files are not recognized (#12707)

Problem:    PyPA manifest files are not recognized.
Solution:   Add a pattern to match PyPA manifest files.

23 months agoUnison support (#12715)
Anton Parkhomenko [Wed, 9 Aug 2023 14:50:52 +0000 (21:50 +0700)] 
Unison support (#12715)

23 months agofeat(heex): borrow matchit support from html (#12717)
Chris Vincent [Wed, 9 Aug 2023 14:49:44 +0000 (09:49 -0500)] 
feat(heex): borrow matchit support from html (#12717)

* feat(heex): borrow matchit support from html

Makes % support behave the same in heex as in html. For example, quickly moving the cursor between opening and closing tags.

* Remove unnecessary line; define b:undo_ftplugin first

* Remove b:html_set_match_words

23 months agoAdd WebGPU Shading Language (WGSL) filetype (#12723)
Gergő Sályi [Wed, 9 Aug 2023 14:49:01 +0000 (16:49 +0200)] 
Add WebGPU Shading Language (WGSL) filetype (#12723)

The current W3C Working Draft for the WebGPU Shading Language (WGSL) specifies
'text/wgsl' media type for WGSL modules with the '.wgsl' file extension:
https://www.w3.org/TR/WGSL/#text-wgsl-media-type

It has also been registered at the Internet Assigned Numbers Authority (IANA):
https://www.iana.org/assignments/media-types/text/wgsl

Neovim's nvim-lspconfig already associates wgsl language servers
with 'filetype wgsl':
https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#wgsl_analyzer

However currenly setting 'filetype wgsl' for *.wgsl files by defalut in Neovim
is blocked by adding this filetype to the vim project first:
https://github.com/neovim/neovim/pull/23331

This commit adds this missing wgsl filetype.

23 months agoupdate .wast files syntax highlighting (#12741)
Linda_pp [Wed, 9 Aug 2023 14:45:52 +0000 (23:45 +0900)] 
update .wast files syntax highlighting (#12741)

23 months agopatch 9.0.1679: Cleanup Tests from leftover files v9.0.1679
Christian Brabandt [Thu, 13 Jul 2023 09:45:54 +0000 (11:45 +0200)] 
patch 9.0.1679: Cleanup Tests from leftover files

Problem:    Tests may leave leftover files around
Solution:   Clean up tests and remove files

There were a few failures in 'linux (huge, gcc, testgui, true, true)'
e.g. here: https://github.com/vim/vim/actions/runs/5497376153/jobs/10018060156

,----
| Error detected while processing command line..script /home/runner/work/vim/vim/src/testdir/runtest.vim[585]..function RunTheTest[54]..Test_lvimgrep_crash[16]..TestTimeout[12]..VimLeavePre Autocommands for "*"..function EarlyExit[7]..FinishTesting:
| line   70:
| E445: Other window contains changes
| E937: Attempt to delete a buffer that is in use: Xtest_stable_xxd.txt
| E937: Attempt to delete a buffer that is in use: Xtest_stable_xxd.txt
| E937: Attempt to delete a buffer that is in use: Xtest_stable_xxd.txtmalloc(): unsorted double linked list corrupted
`----

Which is puzzling, because the Xtest_stable_xxd file should have been
long gone after test_crypt.vim is run (and definitely no longer be
staying around in test_quickfix.vim).

So try to clean up properly after a test script is run, just in case any
X<file> is still around. During testing, a found a few leftover files,
which I also fixed in the relevant test-file.

Unfortunately, the test workflow 'linux (huge, gcc, testgui, true,
true)' now seems to fail with 'E1230: Encryption: sodium_mlock()' in
test_crypt.vim. Hopefully this is only temporary.

23 months agoMerge pull request #12740 from k-takata/import-9.0.1678 v9.0.1678
Christian Brabandt [Mon, 7 Aug 2023 15:00:41 +0000 (17:00 +0200)] 
Merge pull request #12740 from k-takata/import-9.0.1678

Bring Bram's last patch (9.0.1678) to GitHub

23 months agopatch 9.0.1678: blade files are not recognized 12740/head
ObserverOfTime [Sun, 6 Aug 2023 18:21:48 +0000 (03:21 +0900)] 
patch 9.0.1678: blade files are not recognized

Problem:    Blade files are not recognized.
Solution:   Add a pattern for Blade files. (closes #12650)

Co-authored-by: Bram Moolenaar <Bram@vim.org>
2 years agopatch 9.0.1677: typo in syntax test input file v9.0.1677
THARAK HEGDE [Sun, 9 Jul 2023 01:38:28 +0000 (02:38 +0100)] 
patch 9.0.1677: typo in syntax test input file

Problem:    Typo in syntax test input file.
Solution:   Fix the typo and the expected dump files. (THARAK HEGDE,
            closes #12635)

2 years agopatch 9.0.1676: warning for buffer in use when exiting early v9.0.1676
Bram Moolenaar [Fri, 7 Jul 2023 23:54:06 +0000 (00:54 +0100)] 
patch 9.0.1676: warning for buffer in use when exiting early

Problem:    Warning for buffer in use when exiting early.
Solution:   Change file names to be able to see what buffer is in use when
            exiting.

2 years agopatch 9.0.1675: test may run into timeout when using valgrind v9.0.1675
Bram Moolenaar [Fri, 7 Jul 2023 23:25:56 +0000 (00:25 +0100)] 
patch 9.0.1675: test may run into timeout when using valgrind

Problem:    Test may run into timeout when using valgrind.
Solution:   Use a longer timeout when using valgrind.

2 years agopatch 9.0.1674: help for builtin functions is not sorted properly v9.0.1674
Bram Moolenaar [Fri, 7 Jul 2023 22:19:18 +0000 (23:19 +0100)] 
patch 9.0.1674: help for builtin functions is not sorted properly

Problem:    Help for builtin functions is not sorted properly.
Solution:   Put err_teapot() help in the right position.

2 years agopatch 9.0.1673: cannot produce a status 418 or 503 message v9.0.1673
Bram Moolenaar [Fri, 7 Jul 2023 17:57:40 +0000 (18:57 +0100)] 
patch 9.0.1673: cannot produce a status 418 or 503 message

Problem:    Cannot produce a status 418 or 503 message.
Solution:   Add err_teapot().

2 years agopatch 9.0.1672: tabline highlight wrong after truncated double width label v9.0.1672
zeertzjq [Sat, 1 Jul 2023 19:24:40 +0000 (20:24 +0100)] 
patch 9.0.1672: tabline highlight wrong after truncated double width label

Problem:    Tabline highlight wrong after truncated double width label.
Solution:   Fill up half a double width character later. (closes #12614)

2 years agopatch 9.0.1671: Termdebug: error with more than 99 breakpoints v9.0.1671
skywind3000 [Wed, 28 Jun 2023 22:27:28 +0000 (23:27 +0100)] 
patch 9.0.1671: Termdebug: error with more than 99 breakpoints

Problem:    Termdebug: error with more than 99 breakpoints.
Solution:   Use a different sign for breakpoint 100 and over. (closes #12589,
            closes #12588)

2 years agopatch 9.0.1670: resetting local option to global value is inconsistent v9.0.1670
Bram Moolenaar [Tue, 27 Jun 2023 20:51:07 +0000 (21:51 +0100)] 
patch 9.0.1670: resetting local option to global value is inconsistent

Problem:    Resetting local option to global value is inconsistent.
Solution:   Handle "<" specifically for 'scrolloff' and 'sidescrolloff'.
            (closes #12594)

2 years agopatch 9.0.1669: Crash syncing swapfile in new buffer when using sodium crypt v9.0.1669
Christian Brabandt [Tue, 27 Jun 2023 17:57:10 +0000 (18:57 +0100)] 
patch 9.0.1669: Crash syncing swapfile in new buffer when using sodium crypt

Problem:    Crash syncing swapfile in new buffer when using sodium crypt.
            (James McCoy)
Solution:   Add checks for sodium encryption. (Christian Brabandt,
            closes #12591, closes #12585)

2 years agopatch 9.0.1668: PEM files are not recognized v9.0.1668
ObserverOfTime [Mon, 26 Jun 2023 21:05:37 +0000 (22:05 +0100)] 
patch 9.0.1668: PEM files are not recognized

Problem:    PEM files are not recognized.
Solution:   Add patterns to match PEM files. (closes #12582)

2 years agopatch 9.0.1667: regression test doesn't fail when fix is reverted v9.0.1667
zeertzjq [Mon, 26 Jun 2023 18:02:43 +0000 (19:02 +0100)] 
patch 9.0.1667: regression test doesn't fail when fix is reverted

Problem:    Regression test doesn't fail when fix is reverted.
Solution:   Add "n" to 'cpoptions' instead of using :winsize. (closes #12587,
            issue #12528)

2 years agopatch 9.0.1666: compiler may warn for uninitialized variable v9.0.1666
Christian Brabandt [Mon, 26 Jun 2023 17:48:09 +0000 (18:48 +0100)] 
patch 9.0.1666: compiler may warn for uninitialized variable

Problem:    Compiler may warn for uninitialized variable.
Solution:   Initialize this_props_len. (Christian Brabandt, closes #12599)

2 years agopatch 9.0.1665: empty CmdlineEnter autocommand causes errors in Ex mode v9.0.1665
Christian Brabandt [Sun, 25 Jun 2023 21:34:22 +0000 (22:34 +0100)] 
patch 9.0.1665: empty CmdlineEnter autocommand causes errors in Ex mode

Problem:    Empty CmdlineEnter autocommand causes errors in Ex mode.
Solution:   Save and restore ex_pressedreturn. (Christian Brabandt,
            closes # 12581, closes #12578)

2 years agopatch 9.0.1664: divide by zero when scrolling with 'smoothscroll' set v9.0.1664
fullwaywang [Sat, 24 Jun 2023 20:58:09 +0000 (21:58 +0100)] 
patch 9.0.1664: divide by zero when scrolling with 'smoothscroll' set

Problem:    Divide by zero when scrolling with 'smoothscroll' set.
Solution:   Avoid using a negative width. (closes #12540, closes #12528)

2 years agopatch 9.0.1663: Termdebug on MS-Windows: some file names are not recognized v9.0.1663
Christian Brabandt [Sat, 24 Jun 2023 19:02:25 +0000 (20:02 +0100)] 
patch 9.0.1663: Termdebug on MS-Windows: some file names are not recognized

Problem:    Termdebug on MS-Windows: some file names are not recognized.
Solution:   Do not always change \t and \n. (Christian Brabandt,
            closes #12565, closes #12560, closes #12550)

2 years agopatch 9.0.1662: crash when using a class member twice v9.0.1662
Bram Moolenaar [Sat, 24 Jun 2023 18:22:21 +0000 (19:22 +0100)] 
patch 9.0.1662: crash when using a class member twice

Problem:    Crash when using a class member twice. (Christian J. Robinson)
Solution:   Make a copy of the value.

2 years agopatch 9.0.1661: BUCK files are not recognized v9.0.1661
Son Luong Ngoc [Sat, 24 Jun 2023 16:11:04 +0000 (17:11 +0100)] 
patch 9.0.1661: BUCK files are not recognized

Problem:    BUCK files are not recognized.
Solution:   Recognize BUCK files as "bzl". (Son Luong Ngoc, closes #12564)

2 years agopatch 9.0.1660: error for using matchfuzzy() returning a list of dicts v9.0.1660
Yegappan Lakshmanan [Sat, 24 Jun 2023 15:42:25 +0000 (16:42 +0100)] 
patch 9.0.1660: error for using matchfuzzy() returning a list of dicts

Problem:    Error for using matchfuzzy() in Vim9 script returning a list of
            dicts.
Solution:   Make return type of matchfuzzy() list<any>. (Yegappan Lakshmanan,
            closes #12574)

2 years agopatch 9.0.1659: Termdebug: default highlight cleared if changing colorscheme v9.0.1659
Christian Brabandt [Sat, 24 Jun 2023 13:20:36 +0000 (14:20 +0100)] 
patch 9.0.1659: Termdebug: default highlight cleared if changing colorscheme

Problem:    Termdebug: default highlight cleared when changing colorscheme.
Solution:   Use a ColorScheme autocommand. (Christian Brabandt, closes #12566,
            closes #12555)

2 years agopatch 9.0.1658: autoload files for "zig" are not installed v9.0.1658
Christian Brabandt [Sat, 24 Jun 2023 12:30:04 +0000 (13:30 +0100)] 
patch 9.0.1658: autoload files for "zig" are not installed

Problem:    Autoload files for "zig" are not installed.
Solution:   Add install and uninstall rules in the makefile. (Christian
            Brabandt, closes #12577, closes #12567)

2 years agopatch 9.0.1657: one more syntax test depends on the system v9.0.1657
Bram Moolenaar [Sat, 24 Jun 2023 00:35:51 +0000 (01:35 +0100)] 
patch 9.0.1657: one more syntax test depends on the system

Problem:    One more syntax test depends on the system.
Solution:   Use "dash" instead of "sh".

2 years agopatch 9.0.1656: syntax test fails when detected shell type differs v9.0.1656
Bram Moolenaar [Fri, 23 Jun 2023 23:56:50 +0000 (00:56 +0100)] 
patch 9.0.1656: syntax test fails when detected shell type differs

Problem:    Syntax test fails when detected shell type differs.
Solution:   Avoid using "/bin/sh", it depends on the system.  Add a check that
            the shell type detection is correct.

2 years agopatch 9.0.1655: syntax test fails when Vim window is not tall enough v9.0.1655
Bram Moolenaar [Fri, 23 Jun 2023 21:59:26 +0000 (22:59 +0100)] 
patch 9.0.1655: syntax test fails when Vim window is not tall enough

Problem:    Syntax test fails when Vim window is not tall enough.
Solution:   Make sure each terminal window is closed.

2 years agopatch 9.0.1654: MS-Windows: test for default 'viewdir' fails v9.0.1654
Bram Moolenaar [Fri, 23 Jun 2023 21:56:47 +0000 (22:56 +0100)] 
patch 9.0.1654: MS-Windows: test for default 'viewdir' fails

Problem:    MS-Windows: test for default 'viewdir' fails.
Solution:   Escape the pattern.

2 years agopatch 9.0.1653: Amiga: default 'viewdir' may not work v9.0.1653
Christian Brabandt [Fri, 23 Jun 2023 21:23:01 +0000 (22:23 +0100)] 
patch 9.0.1653: Amiga: default 'viewdir' may not work

Problem:    Amiga: default 'viewdir' may not work.
Solution:   Use "home:" instead of "$VIM". Add a test. (Christian Brabandt,
            closes #12576)

2 years agopatch 9.0.1652: unclear why syntax test fails on Mac v9.0.1652
Bram Moolenaar [Fri, 23 Jun 2023 20:36:31 +0000 (21:36 +0100)] 
patch 9.0.1652: unclear why syntax test fails on Mac

Problem:    Unclear why syntax test fails on Mac.
Solution:   Echo v:errors when it's not empty.

2 years agopatch 9.0.1651: unclear why syntax test fails on Mac v9.0.1651
Bram Moolenaar [Fri, 23 Jun 2023 18:37:19 +0000 (19:37 +0100)] 
patch 9.0.1651: unclear why syntax test fails on Mac

Problem:    Unclear why syntax test fails on Mac.
Solution:   Temporarily show the whole "messages" file.

2 years agopatch 9.0.1650: MS-Windows: default 'viewdir' may include read-only directory v9.0.1650
Bram Moolenaar [Fri, 23 Jun 2023 15:15:13 +0000 (16:15 +0100)] 
patch 9.0.1650: MS-Windows: default 'viewdir' may include read-only directory

Problem:    MS-Windows: default 'viewdir' may include read-only directory.
Solution:   Use $HOME instead of $VIM for 'viewdir' default. (closes #12119)

2 years agopatch 9.0.1649: syntax test failure causes script to abort v9.0.1649
Bram Moolenaar [Thu, 22 Jun 2023 22:04:11 +0000 (23:04 +0100)] 
patch 9.0.1649: syntax test failure causes script to abort

Problem:    Syntax test failure causes script to abort.
Solution:   Fix appending string to list.

2 years agopatch 9.0.1648: result of syntax tests is hard to see v9.0.1648
Bram Moolenaar [Thu, 22 Jun 2023 21:38:54 +0000 (22:38 +0100)] 
patch 9.0.1648: result of syntax tests is hard to see

Problem:    Result of syntax tests is hard to see.
Solution:   List the failed tests.

2 years agopatch 9.0.1647: insufficient testing for syntax plugins v9.0.1647
Bram Moolenaar [Thu, 22 Jun 2023 20:57:51 +0000 (21:57 +0100)] 
patch 9.0.1647: insufficient testing for syntax plugins

Problem:    Insufficient testing for syntax plugins.
Solution:   Add shell file examples. (Charles Campbell)  Create a messages
            file for easier debugging and reporting the test results.

2 years agopatch 9.0.1646: CI: codecov may take a very long time to run v9.0.1646
Philip H [Thu, 22 Jun 2023 17:12:46 +0000 (18:12 +0100)] 
patch 9.0.1646: CI: codecov may take a very long time to run

Problem:    CI: codecov may take a very long time to run.
Solution:   Add a timeout. (Philip Heiduck, closes #12559)

2 years agopatch 9.0.1645: zserio files are not recognized v9.0.1645
=?UTF-8?q?Dominique=20Pell=C3=A9?= [Thu, 22 Jun 2023 13:36:39 +0000 (14:36 +0100)] 
patch 9.0.1645: zserio files are not recognized

Problem:    zserio files are not recognized.
Solution:   Add a pattern for zserio files. (Dominique Pellé,
            closes #12544)

2 years agopatch 9.0.1644: not all filetype file name matches are tested v9.0.1644
smjonas [Thu, 22 Jun 2023 11:41:19 +0000 (12:41 +0100)] 
patch 9.0.1644: not all filetype file name matches are tested

Problem:    Not all filetype file name matches are tested.
Solution:   Add more file names to test with. (Jonas Strittmatter,
            closes #12569)

2 years agopatch 9.0.1643: filetype detection fails if file name ends in many '~' v9.0.1643
Bram Moolenaar [Thu, 22 Jun 2023 11:18:57 +0000 (12:18 +0100)] 
patch 9.0.1643: filetype detection fails if file name ends in many '~'

Problem:    Filetype detection fails if file name ends in many '~'.
Solution:   Strip multiple '~' at the same time. (closes #12553)

2 years agopatch 9.0.1642: build failure with tiny features v9.0.1642
Bram Moolenaar [Wed, 21 Jun 2023 14:51:47 +0000 (15:51 +0100)] 
patch 9.0.1642: build failure with tiny features

Problem:    Build failure with tiny features.
Solution:   Add #ifdef's.

2 years agopatch 9.0.1641: the log file does not give information about window sizes v9.0.1641
Bram Moolenaar [Wed, 21 Jun 2023 12:42:48 +0000 (13:42 +0100)] 
patch 9.0.1641: the log file does not give information about window sizes

Problem:    The log file does not give information about window sizes.
Solution:   Add a few log messages about obtaining the window size.

2 years agopatch 9.0.1640: compiler warning for unused variables without crypt feature v9.0.1640
Bram Moolenaar [Sat, 17 Jun 2023 15:19:30 +0000 (16:19 +0100)] 
patch 9.0.1640: compiler warning for unused variables without crypt feature

Problem:    Compiler warning for unused variables without the crypt feature.
Solution:   Adjust #ifdefs

2 years agopatch 9.0.1639: build failure without the crypt feature v9.0.1639
Bram Moolenaar [Sat, 17 Jun 2023 14:35:03 +0000 (15:35 +0100)] 
patch 9.0.1639: build failure without the crypt feature

Problem:    Build failure without the crypt feature.
Solution:   Adjust #ifdefs

2 years agopatch 9.0.1638: crypt tests hang and cause memory errors 12556/head v9.0.1638
Bram Moolenaar [Sat, 17 Jun 2023 14:00:27 +0000 (15:00 +0100)] 
patch 9.0.1638: crypt tests hang and cause memory errors

Problem:    crypt tests hang and cause memory errors
Solution:   Move variable to start of function.

2 years agopatch 9.0.1637: compiler warning for uninitialized variable v9.0.1637
Christian Brabandt [Fri, 16 Jun 2023 20:42:06 +0000 (21:42 +0100)] 
patch 9.0.1637: compiler warning for uninitialized variable

Problem:    Compiler warning for uninitialized variable.
Solution:   Move the variable to an inner block and initialize it. (Christian
            Brabandt, closes #12549)

2 years agopatch 9.0.1636: expanding a pattern interferes with cmdline completion v9.0.1636
zeertzjq [Thu, 15 Jun 2023 21:51:57 +0000 (22:51 +0100)] 
patch 9.0.1636: expanding a pattern interferes with cmdline completion

Problem:    Expanding a pattern interferes with command line completion.
Solution:   Set the file index only when appropriate. (closes #12519)

2 years agopatch 9.0.1635: error message is cleared when removing mode message v9.0.1635
Bram Moolenaar [Thu, 15 Jun 2023 17:44:50 +0000 (18:44 +0100)] 
patch 9.0.1635: error message is cleared when removing mode message

Problem:    Error message is cleared when removing mode message.
Solution:   Also reset flags when the message is further down.

2 years agopatch 9.0.1634: message is cleared when removing mode message v9.0.1634
Bram Moolenaar [Thu, 15 Jun 2023 15:40:02 +0000 (16:40 +0100)] 
patch 9.0.1634: message is cleared when removing mode message

Problem:    Message is cleared when removing mode message (Gary Johnson).
Solution:   Do not clear the command line after displaying a message.

2 years agopatch 9.0.1633: duplicate code for converting float to string v9.0.1633
zeertzjq [Thu, 15 Jun 2023 09:56:41 +0000 (10:56 +0100)] 
patch 9.0.1633: duplicate code for converting float to string

Problem:    Duplicate code for converting float to string.
Solution:   Use tv_get_string(). (closes #12521)

2 years agopatch 9.0.1632: not all cabal config files are recognized v9.0.1632
Marcin Szamotulski [Wed, 14 Jun 2023 18:45:43 +0000 (19:45 +0100)] 
patch 9.0.1632: not all cabal config files are recognized

Problem:    Not all cabal config files are recognized.
Solution:   Add a couple of patterns. (Marcin Szamotulski, closes #12463)

2 years agopatch 9.0.1631: passing wrong variable type to option gives multiple errors v9.0.1631
zeertzjq [Wed, 14 Jun 2023 15:39:54 +0000 (16:39 +0100)] 
patch 9.0.1631: passing wrong variable type to option gives multiple errors

Problem:    Passing a wrong variable type to an option gives multiple errors.
Solution:   Bail out early on failure. (closes #12504)

2 years agopatch 9.0.1630: "make clean" at the toplevel fails v9.0.1630
Ben Jackson [Wed, 14 Jun 2023 14:10:02 +0000 (15:10 +0100)] 
patch 9.0.1630: "make clean" at the toplevel fails

Problem:    "make clean" at the toplevel fails.
Solution:   Clean the indent and syntax directories in a sub-shell.  (Ben
            Jackson, closes #12536, closes #12526)

2 years agopatch 9.0.1629: having utf16idx() rounding up is inconvenient v9.0.1629
Yegappan Lakshmanan [Wed, 14 Jun 2023 12:10:15 +0000 (13:10 +0100)] 
patch 9.0.1629: having utf16idx() rounding up is inconvenient

Problem:    Having utf16idx() rounding up is inconvenient.
Solution:   Make utf16idx() round down. (Yegappan Lakshmanan, closes #12523)

2 years agopatch 9.0.1628: syntax tests fail on FreeBSD v9.0.1628
K.Takata [Tue, 13 Jun 2023 21:44:57 +0000 (22:44 +0100)] 
patch 9.0.1628: syntax tests fail on FreeBSD

Problem:    Syntax tests fail on FreeBSD.
Solution:   Pass the Vim executable path with VIMPROG. (Ken Takata,
            closes #12535)  Adjust the paths.

2 years agopatch 9.0.1627: no generic mechanism to test syntax plugins v9.0.1627
Bram Moolenaar [Sun, 11 Jun 2023 18:04:18 +0000 (19:04 +0100)] 
patch 9.0.1627: no generic mechanism to test syntax plugins

Problem:    No generic mechanism to test syntax plugins.
Solution:   Add a syntax plugin test mechanism, using screendumps.  Add a
            simple test for "c".

2 years agoUpdate runtime files
Bram Moolenaar [Sat, 10 Jun 2023 20:40:39 +0000 (21:40 +0100)] 
Update runtime files

2 years agopatch 9.0.1626: Visual area not shown when using 'showbreak' v9.0.1626
Bram Moolenaar [Sat, 10 Jun 2023 18:40:30 +0000 (19:40 +0100)] 
patch 9.0.1626: Visual area not shown when using 'showbreak'

Problem:    Visual area not shown when using 'showbreak' and start of line is
            not visible. (Jaehwang Jung)
Solution:   Adjust "fromcol" for the space taken by 'showbreak'.
            (closes #12514)

2 years agopatch 9.0.1625: "super" is not considered a reserved name v9.0.1625
Bram Moolenaar [Sat, 10 Jun 2023 18:00:12 +0000 (19:00 +0100)] 
patch 9.0.1625: "super" is not considered a reserved name

Problem:    "super" is not considered a reserved name.
Solution:   Add "super" to the list of reserved names. (closes #12515)

2 years agopatch 9.0.1624: crash when calling object constructor v9.0.1624
Bram Moolenaar [Sat, 10 Jun 2023 15:45:13 +0000 (16:45 +0100)] 
patch 9.0.1624: crash when calling object constructor

Problem:    Crash when calling object constructor from legacy script. (Israel
            Chauca Fuentes)
Solution:   Pass a pointer for "ufunc". (closes #12502)

2 years agopatch 9.0.1623: the program to filetype translation is not exported v9.0.1623
Bram Moolenaar [Fri, 9 Jun 2023 20:01:47 +0000 (21:01 +0100)] 
patch 9.0.1623: the program to filetype translation is not exported

Problem:    The program to filetype translation is not exported.
Solution:   Export Exe2filetype().

2 years agopatch 9.0.1622: filetype name t32 is a bit obscure v9.0.1622
Christoph Sax [Fri, 9 Jun 2023 18:20:04 +0000 (19:20 +0100)] 
patch 9.0.1622: filetype name t32 is a bit obscure

Problem:    Filetype name t32 is a bit obscure.
Solution:   Rename t32 to trace32. (Christoph Sax, closes #12512)

2 years agopatch 9.0.1621: FILETYPE_FILE is defined to the same value multiple times v9.0.1621
Bram Moolenaar [Thu, 8 Jun 2023 21:16:23 +0000 (22:16 +0100)] 
patch 9.0.1621: FILETYPE_FILE is defined to the same value multiple times

Problem:    FILETYPE_FILE is defined to the same value multiple times.  Same
            for a few similar macros.
Solution:   Define FILETYPE_FILE and others in feature.h only

2 years agopatch 9.0.1620: Nix files are not recognized from the hashbang line v9.0.1620
Bram Moolenaar [Thu, 8 Jun 2023 20:27:13 +0000 (21:27 +0100)] 
patch 9.0.1620: Nix files are not recognized from the hashbang line

Problem:    Nix files are not recognized from the hashbang line.
Solution:   Add a hashbang check. (issue #12507)

2 years agopatch 9.0.1619: the focus gained/lost escape sequences cause trouble v9.0.1619
Bram Moolenaar [Thu, 8 Jun 2023 17:44:01 +0000 (18:44 +0100)] 
patch 9.0.1619: the focus gained/lost escape sequences cause trouble

Problem:    The focus gained/lost escape sequences cause trouble for a
            terminal where Vim does not expect them.
Solution:   Always recognize the codes for focus gained/lost. (closes #12499)

2 years agopatch 9.0.1618: Trace32 files are not recognized v9.0.1618
Christoph Sax [Thu, 8 Jun 2023 16:57:19 +0000 (17:57 +0100)] 
patch 9.0.1618: Trace32 files are not recognized

Problem:    Trace32 files are not recognized.
Solution:   Add patterns for the t32 filetype. (Christoph Sax, closes #12505)

2 years agopatch 9.0.1617: charidx() result is not consistent with byteidx() v9.0.1617
Yegappan Lakshmanan [Thu, 8 Jun 2023 16:09:45 +0000 (17:09 +0100)] 
patch 9.0.1617: charidx() result is not consistent with byteidx()

Problem:    charidx() and utf16idx() result is not consistent with byteidx().
Solution:   When the index is equal to the length of the text return the
            lenght of the text instead of -1. (Yegappan Lakshmanan,
            closes #12503)

2 years agopatch 9.0.1616: quickfix text field is truncated v9.0.1616
Shane Harper [Wed, 7 Jun 2023 18:09:57 +0000 (19:09 +0100)] 
patch 9.0.1616: quickfix text field is truncated

Problem:    Quickfix text field is truncated.
Solution:   Fix output of text field after pattern field in quickfix buffer.
            (Shane Harper, closes #12498)

2 years agopatch 9.0.1615: URL shortcut files are not recognized v9.0.1615
ObserverOfTime [Wed, 7 Jun 2023 17:27:01 +0000 (18:27 +0100)] 
patch 9.0.1615: URL shortcut files are not recognized

Problem:    URL shortcut files are not recognized.
Solution:   Add a pattern for URL shortcut files. (closes #12474)

2 years agopatch 9.0.1614: strlen() called too often for :spellrepall v9.0.1614
zeertzjq [Tue, 6 Jun 2023 14:59:59 +0000 (15:59 +0100)] 
patch 9.0.1614: strlen() called too often for :spellrepall

Problem:    strlen() called too often for :spellrepall.
Solution:   Store the result in a variable. (closes #12497)

2 years agopatch 9.0.1613: some make output gets picked up by 'errorformat' v9.0.1613
Gregory Anders [Mon, 5 Jun 2023 20:52:46 +0000 (21:52 +0100)] 
patch 9.0.1613: some make output gets picked up by 'errorformat'

Problem:    Some make output gets picked up by 'errorformat'.
Solution:   Ignore make output by default. (Gregory Anders, closes #12481)

2 years agopatch 9.0.1612: "skipcol" not reset when using multi-byte characters v9.0.1612
Bram Moolenaar [Mon, 5 Jun 2023 19:44:55 +0000 (20:44 +0100)] 
patch 9.0.1612: "skipcol" not reset when using multi-byte characters

Problem:    "skipcol" not reset when using multi-byte characters.
Solution:   Compare with w_virtcol instead of w_cursor.col. (closes #12457)

2 years agopatch 9.0.1611: v:maxcol can be changed in a :for loop v9.0.1611
Bram Moolenaar [Mon, 5 Jun 2023 18:46:18 +0000 (19:46 +0100)] 
patch 9.0.1611: v:maxcol can be changed in a :for loop

Problem:    v:maxcol can be changed in a :for loop.
Solution:   Check for read-only loop variable. (closes #12470)

2 years agopatch 9.0.1610: display is wrong when 'smoothscroll' is set v9.0.1610
zeertzjq [Mon, 5 Jun 2023 17:41:35 +0000 (18:41 +0100)] 
patch 9.0.1610: display is wrong when 'smoothscroll' is set

Problem:    Display is wrong when 'smoothscroll' is set and scrolling multiple
            lines.
Solution:   Redraw with UPD_NOT_VALID when "skipcol" is or was set.
            (closes #12490, closes #12468)

2 years agopatch 9.0.1609: crash when an object indirectly references itself v9.0.1609
Bram Moolenaar [Mon, 5 Jun 2023 15:53:25 +0000 (16:53 +0100)] 
patch 9.0.1609: crash when an object indirectly references itself

Problem:    Crash when an object indirectly references itself.
Solution:   Avoid clearing an object while it is already being cleared.
            (closes #12494)

2 years agopatch 9.0.1608: update_topline() is called twice v9.0.1608
Luuk van Baal [Mon, 5 Jun 2023 14:00:05 +0000 (15:00 +0100)] 
patch 9.0.1608: update_topline() is called twice

Problem:    update_topline() is called twice.
Solution:   Do not call update_topline() before curs_columns(). (Luuk van
            Baal, closes #12495)

2 years agopatch 9.0.1607: screenpos() returns wrong row with diff filler lines v9.0.1607
zeertzjq [Sun, 4 Jun 2023 18:29:22 +0000 (19:29 +0100)] 
patch 9.0.1607: screenpos() returns wrong row with diff filler lines

Problem:    screenpos() returns wrong row with diff filler lines.
Solution:   Only add filler lines when appropriate.  Also don't add the
            'smoothscroll' marker when w_skipcol is zero. (closes #12485,
            closes #12484)

2 years agopatch 9.0.1606: using freed memory when 'foldcolumn' is set v9.0.1606
zeertzjq [Sun, 4 Jun 2023 17:46:28 +0000 (18:46 +0100)] 
patch 9.0.1606: using freed memory when 'foldcolumn' is set

Problem:    Using freed memory when 'foldcolumn' is set.
Solution:   Save extra pointer to free it later. (closes #12492)

2 years agopatch 9.0.1605: crash when calling method on super in child constructor v9.0.1605
Ernie Rael [Sun, 4 Jun 2023 17:11:35 +0000 (18:11 +0100)] 
patch 9.0.1605: crash when calling method on super in child constructor

Problem:    Crash when calling method on super in child constructor. (Israel
            Chauca Fuentes)
Solution:   Clear the type list. (Ernie Rael, closes #12489, closes #12471)

2 years agopatch 9.0.1604: errors from the codestyle test are a bit confusing v9.0.1604
Bram Moolenaar [Sun, 4 Jun 2023 15:55:27 +0000 (16:55 +0100)] 
patch 9.0.1604: errors from the codestyle test are a bit confusing

Problem:    Errors from the codestyle test are a bit confusing.
Solution:   Use assert_report() with a clearer message.  Avoid a warning for
            an existing swap file.

2 years agopatch 9.0.1603: display wrong if scrolling multiple lines with 'smoothscroll' v9.0.1603
zeertzjq [Sat, 3 Jun 2023 21:08:33 +0000 (22:08 +0100)] 
patch 9.0.1603: display wrong if scrolling multiple lines with 'smoothscroll'

Problem:    Display wrong when scrolling multiple lines with 'smoothscroll'
            set.
Solution:   Redraw when w_skipcol changed. (closes #12477, closes #12468)

2 years agopatch 9.0.1602: stray character visible if marker on top of double-wide char v9.0.1602
zeertzjq [Sat, 3 Jun 2023 18:45:06 +0000 (19:45 +0100)] 
patch 9.0.1602: stray character visible if marker on top of double-wide char

Problem:    Stray character is visible if 'smoothscroll' marker is displayed
            on top of a double-wide character.
Solution:   When overwriting a double-width character with the 'smoothscroll'
            marker clear the second half. (closes #12469)

2 years agopatch 9.0.1601: filetype detection fails for *.conf file without comments v9.0.1601
zeertzjq [Sat, 3 Jun 2023 16:56:30 +0000 (17:56 +0100)] 
patch 9.0.1601: filetype detection fails for *.conf file without comments

Problem:    Filetype detection fails for *.conf file without comments.
            (Dmitrii Tcyganok)
Solution:   Use "conf" filetype as a fallback for an empty .conf file.
            (closes #12487, closes #12483)

2 years agopatch 9.0.1600: screenpos() does not take w_skipcol into account v9.0.1600
zeertzjq [Sat, 3 Jun 2023 16:11:47 +0000 (17:11 +0100)] 
patch 9.0.1600: screenpos() does not take w_skipcol into account

Problem:    screenpos() does not take w_skipcol into account.
Solution:   Subtract w_skipcol from column. (closes #12486, closes #12476)

2 years agopatch 9.0.1599: Cursor not adjusted when 'splitkeep' is not "cursor" v9.0.1599
Luuk van Baal [Fri, 2 Jun 2023 13:16:35 +0000 (14:16 +0100)] 
patch 9.0.1599: Cursor not adjusted when 'splitkeep' is not "cursor"

Problem:    Cursor not adjusted when near top or bottom of window and
            'splitkeep' is not "cursor".
Solution:   Move boundary checks to outer cursor move functions, inner
            functions should only return valid cursor positions. (Luuk van
            Baal, closes #12480)

2 years agopatch 9.0.1598: screenchar() and others are wrong with DBCS 'encoding' v9.0.1598
zeertzjq [Thu, 1 Jun 2023 19:26:55 +0000 (20:26 +0100)] 
patch 9.0.1598: screenchar() and others are wrong with DBCS 'encoding'

Problem:    screenchar(), screenchars() and screenstring() do not work
            properly when 'encoding' is set to a double-byte encoding.
Solution:   Fix the way the bytes of the characters are obtained.
            (issue #12469)