]> git.ipfire.org Git - thirdparty/vim.git/log
thirdparty/vim.git
19 months agopatch 9.0.2187: Visual not drawn with 'breakindent' when line doesn't fit v9.0.2187
zeertzjq [Wed, 27 Dec 2023 18:08:53 +0000 (19:08 +0100)] 
patch 9.0.2187: Visual not drawn with 'breakindent' when line doesn't fit

Problem:  Visual selection isn't drawn with 'breakindent' when the line
          doesn't fit in the window (Jaehwang Jung)
Solution: Adjust wlv->fromcol also for 'breakindent' (zeertzjq)

closes: #13767
closes: #13768

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(doc): add help tag multiple-constructors. (#13772)
errael [Wed, 27 Dec 2023 18:07:09 +0000 (10:07 -0800)] 
runtime(doc): add help tag multiple-constructors. (#13772)

Signed-off-by: Ernie Rael <errael@raelity.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(elixir): fix indentation (#13771)
George Guimarães [Wed, 27 Dec 2023 18:06:05 +0000 (15:06 -0300)] 
runtime(elixir): fix indentation (#13771)

Signed-off-by: George Guimarães <george.guimaraes@gmail.com>
Signed-off-by: Mitchell Hanberg <mitch@mitchellhanberg.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(mermaid): Syntax fix (#13774)
KSR-Yasuda [Wed, 27 Dec 2023 18:02:35 +0000 (03:02 +0900)] 
runtime(mermaid): Syntax fix (#13774)

* runtime(mermaid): Fix arrow syntax
* runtime(mermaid): Disable syntax for identifier to avoid false match
* runtime(mermaid): Add some C++ type syntax highlight
* runtime(mermaid): Update last change time in header

Signed-off-by: yasuda <yasuda@kyoto-sr.co.jp>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agopatch 9.0.2186: LTCG compile error ARM64 for write_chars v9.0.2186
Saleem Abdulrasool [Wed, 27 Dec 2023 17:57:12 +0000 (18:57 +0100)] 
patch 9.0.2186: LTCG compile error ARM64 for write_chars

Problem:  LTCG compile error on Win/ARM64 for `write_chars()`
Solution: Explicitly initialise the storage to use data rather than BSS
          (Saleem Abdulrasool)

win32: add a workaround for a LTCG issue on Windows ARM64

It appears that the implicit initialisation which would push `g_coords`
into BSS causes an aliasing issue with LTCG on ARM64.  By explicitly
initialising the value, we use usual data storage but prevent the
aliasing.  This allows the console version of VIM to run on Windows
ARM64 again.

fixes:  #13453
closes: #13775

Signed-off-by: Saleem Abdulrasool <compnerd@compnerd.org>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(doc): clarify behaviour of ]m and ]M motions
Christian Brabandt [Wed, 27 Dec 2023 17:53:35 +0000 (18:53 +0100)] 
runtime(doc): clarify behaviour of ]m and ]M motions

In particular remove the sentence, that a missing '{'
(for ]m) or '}' (for ]M) after the cursor is an error, since
currently this is not treated as an error.

fixes: #13777

Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(diff): Update default links (#13776)
Evgeni Chasnovski [Wed, 27 Dec 2023 17:51:43 +0000 (19:51 +0200)] 
runtime(diff): Update default links (#13776)

Problem: Current default links for `diffAdded`, `diffChanged`, and
              `diffRemoved` do not address the diff nature of the filetype.
Solution: Use `DiffAdd`, `DiffChange`, and `DiffDelete`.

closes: #13759

Signed-off-by: Evgeni Chasnovski <evgeni.chasnovski@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(context): update ConTeXt keywords and other minor fixes (#13778)
Lifepillar [Wed, 27 Dec 2023 17:49:50 +0000 (18:49 +0100)] 
runtime(context): update ConTeXt keywords and other minor fixes (#13778)

Update to the ConTeXt runtime files. Changes:

1. shared syntax files updated with `mtxrun --script interface --vim`
   using the latest ConTeXt LMTX.

2. fixed reference to `make` tag in the help file.

3. added `keepend` to mitigate issues with embedded Lua syntax (see
   below).

4. the latest revision date of each ConTeXt runtime file has been
   updated to the date of this commit.

The issue about embedded Lua was reported by a user:

>Take the following valid ConTeXt file:

>   \starttext
>   \ctxlua{context("Text generated from Lua.")}
>   \ctxlua{context("Another text generated from Lua.")}
>   \stoptext

>On my Vim installation (including when I start Vim with `--clean`), the
>closing bracket and curly braces on line 2 are highlighted red and the
>syntax highlighting after that is off.

>I was trying to dig a little bit into what was going on, using the
>`synID()` and `synIDattr()` functions. It appears that the closing
>bracket on line 2 is matched as a `luaParentError` instead of the end
>of the `luaParen` region. Therefore, the `luaParen` region continues
>all the way to the end of the file. The closing curly brace on line
>2 is matched as a `luaError`, the 2nd `\ctxlua` on line 3 as
>`luaParen`, etc.

>This issue doesn't occur in a plain Lua file, where the closing bracket
>is correctly matched as the end of the `luaParen` region. So it seems
>that something goes wrong when the Lua syntax file is included in the
>ConTeXt one.

By adding `keepend`, the right parenthesis for some reason is still
highlighted as a `luaParenError`, but at least the right curly brace
should correctly end the Lua block.

From what I've seen, I think it is very difficult to embed Lua syntax
properly without help from the Lua syntax file (that is, without
patching it). It has global rules such as:

   syn match  luaParenError ")"
   syn match  luaError "}"

which make it difficult, if not impossible, to contain Lua syntax
without `keepend` (and its limitations).

Signed-off-by: Lifepillar <lifepillar@lifepillar.me>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(doc): Add variable categories and null related documentation(#13750)
errael [Mon, 25 Dec 2023 09:31:23 +0000 (01:31 -0800)] 
runtime(doc): Add variable categories and null related documentation(#13750)

Signed-off-by: Ernie Rael <errael@raelity.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(r): Update R runtime files and docs (#13757)
Jakson Alves de Aquino [Mon, 25 Dec 2023 09:22:27 +0000 (09:22 +0000)] 
runtime(r): Update R runtime files and docs (#13757)

* Update R runtime files
- Fix indentation issue with ggplot().
- Setlocal autoindent in indent/r.vim.
- New syntax option: rmd_include_latex.
- Clear syn iskeyword to recognize _ as keyword.
- Document some options.
- remove the test has("patch-7.4.1142")
- Update changed date of doc files

Signed-off-by: Jakson Alves de Aquino <jalvesaq@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org
19 months agotranslation(ua): Update Ukrainian translation (#13760)
Anatolii Sakhnik [Mon, 25 Dec 2023 09:19:25 +0000 (11:19 +0200)] 
translation(ua): Update Ukrainian translation (#13760)

Signed-off-by: Anatolii Sakhnik <sakhnik@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agopatch 9.0.2185: Coverity complains about not checking return value v9.0.2185
Christian Brabandt [Sun, 24 Dec 2023 10:14:37 +0000 (11:14 +0100)] 
patch 9.0.2185: Coverity complains about not checking return value

Problem:  Coverity complains about not checking return value
          in compare_isn_not_values (after 9.0.2184)
Solution: cast return value to "(void)" to make intention clear

closes: #13751

Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(doc): Clarify that new() is not static
Ernie Rael [Sun, 24 Dec 2023 10:03:31 +0000 (11:03 +0100)] 
runtime(doc): Clarify that new() is not static

closes: #13756

Signed-off-by: Ernie Rael <errael@raelity.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(doc): list of new/changed features in version9.txt
Yegappan Lakshmanan [Sun, 24 Dec 2023 10:01:23 +0000 (11:01 +0100)] 
runtime(doc): list of new/changed features in version9.txt

closes: #13753

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoRuntime(fortran): updates to indent, syntax and ftplugin (#13752)
Ajit-Thakkar [Sat, 23 Dec 2023 10:31:38 +0000 (06:31 -0400)] 
Runtime(fortran): updates to indent, syntax and ftplugin (#13752)

* runtime update fortran.vim

Add folding for newer features of Fortran

* Runtime Update fortran.vim

Add indent support for newer features of Fortran

* Runtime Update fortran.vim

Add newer features of Fortran to matchit patterns

Signed-off-by: Ajit-Thakkar <142174202+Ajit-Thakkar@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(debcontrol): Add loong64 arch (#13754)
James McCoy [Sat, 23 Dec 2023 10:23:39 +0000 (05:23 -0500)] 
runtime(debcontrol): Add loong64 arch (#13754)

Co-authored-by: zhangjialing@loongson.cn <zhangjialing@loongson.cn>
Signed-off-by: James McCoy <jamessan@jamessan.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(doc): add some error codes to `:help vim9class` (#13747)
errael [Thu, 21 Dec 2023 16:34:15 +0000 (08:34 -0800)] 
runtime(doc): add some error codes to `:help vim9class` (#13747)

Signed-off-by: Ernie Rael <errael@raelity.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agopatch 9.0.2184: Vim9: inconsistent :type/:class messages v9.0.2184
Ernie Rael [Thu, 21 Dec 2023 16:18:54 +0000 (17:18 +0100)] 
patch 9.0.2184: Vim9: inconsistent :type/:class messages

Problem:  Vim9: inconsistent :type/:class messages
Solution: Update the Messages (Ernie Rael)

closes: #13706

Signed-off-by: Ernie Rael <errael@raelity.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(erlang): add support for matchit plugin (#13713)
Csaba Hoch [Thu, 21 Dec 2023 16:16:28 +0000 (17:16 +0100)] 
runtime(erlang): add support for matchit plugin (#13713)

This commit updates the Erlang runtime files to be in sync with the
`vim-erlang-runtime` repository. In particular, it adds the following
commit (with some cleanup and simplification afterwards):
https://github.com/vim-erlang/vim-erlang-runtime/commit/6ea8b85bc9c93b94c68ec53489a74f5687d898b0

Signed-off-by: Csaba Hoch <csaba.hoch@gmail.com>
Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(masm): add variants of opcodes (#13734)
Wu Yongwei [Thu, 21 Dec 2023 16:12:34 +0000 (00:12 +0800)] 
runtime(masm): add variants of opcodes (#13734)

that can actually be generated by compilers

Signed-off-by: Wu Yongwei <wuyongwei@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(doc): Include Vim9 class features in version9.txt
Yegappan Lakshmanan [Thu, 21 Dec 2023 16:09:15 +0000 (17:09 +0100)] 
runtime(doc): Include Vim9 class features in version9.txt

closes: #13735

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agopatch 9.0.2183: Maximum callback depth is not configurable v9.0.2183
zeertzjq [Thu, 21 Dec 2023 15:59:26 +0000 (16:59 +0100)] 
patch 9.0.2183: Maximum callback depth is not configurable

Problem:  Maximum callback depth is not configurable.
Solution: Revert patch 9.0.2103.  Set 'maxfuncdepth' in test.
          (zeertzjq)

fixes: #13732
closes: #13736

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agotranslation(sr): Update Serbian messages translation (#13737)
Ivan Pešić [Thu, 21 Dec 2023 15:58:33 +0000 (19:58 +0400)] 
translation(sr): Update Serbian messages translation (#13737)

Updated with newly added E1411

Signed-off-by: Ivan Pešić <27575106+eevan78@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(doc): reformat and align :h ft-c-syntax (#13738)
Christian Brabandt [Thu, 21 Dec 2023 15:57:09 +0000 (16:57 +0100)] 
runtime(doc): reformat and align :h ft-c-syntax (#13738)

Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(vim): Update syntax file (#13739)
dkearns [Thu, 21 Dec 2023 15:56:06 +0000 (02:56 +1100)] 
runtime(vim): Update syntax file (#13739)

Match all ex commands after ":" and the "|" command separator.

Exceptions are not handled yet and :insert/:change/:append are still not
matched after the command separator bar.

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agopatch 9.0.2182: Vim9: need a way to reserve future extension v9.0.2182
Yegappan Lakshmanan [Thu, 21 Dec 2023 15:46:18 +0000 (16:46 +0100)] 
patch 9.0.2182: Vim9: need a way to reserve future extension

Problem:  Vim9: need a way to reserve future extension
Solution: reserve double underscore prefix for future use
          (Yegappan Lakshmanan)

related: #13238
closes: #13742

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(json5): Add TODO support to syntax script (#13743)
Danek Duvall [Thu, 21 Dec 2023 15:44:19 +0000 (07:44 -0800)] 
runtime(json5): Add TODO support to syntax script (#13743)

Signed-off-by: Danek Duvall <duvall@comfychair.org>
Signed-off-by: Mazunki Hoksaas <rolferen@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agopatch 9.0.2181: Vim9: missing error messages v9.0.2181
Ernie Rael [Tue, 19 Dec 2023 21:15:27 +0000 (22:15 +0100)] 
patch 9.0.2181: Vim9: missing error messages

Problem:  Vim9: missing error messages
Solution: Add one more error message

closes: #13729

Signed-off-by: Ernie Rael <errael@raelity.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(doc): update helptags
Christian Brabandt [Tue, 19 Dec 2023 20:59:00 +0000 (21:59 +0100)] 
runtime(doc): update helptags

Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agopatch 9.0.2180: POSIX function name in exarg causes issues v9.0.2180
Zoltan Arpadffy [Tue, 19 Dec 2023 19:53:07 +0000 (20:53 +0100)] 
patch 9.0.2180: POSIX function name in exarg causes issues

Problem:  POSIX function name in exarg struct causes issues
          on OpenVMS
Solution: Rename getline member in exarg struct to ea_getline,
          remove isinf() workaround for VMS

There are compilers that do not treat well POSIX functions - like
getline - usage in the structs.

Older VMS compilers could digest this... but the newer OpenVMS compilers
( like VSI C x86-64 X7.4-843 (GEM 50XB9) ) cannot deal with these
structs. This could be limited to getline() that is defined via
getdelim() and might not affect all POSIX functions in general - but
avoiding POSIX function names usage in the structs is a "safe side"
practice without compromising the functionality or the code readability.

The previous OpenVMS X86 port used a workaround limiting the compiler
capabilities using __CRTL_VER_OVERRIDE=80400000
In order to make the OpenVMS port future proof, this pull request
proposes a possible solution.

closes: #13704

Signed-off-by: Zoltan Arpadffy <zoltan.arpadffy@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agopatch 9.0.2179: no filetype detection for execline scripts v9.0.2179
Mazunki Hoksaas [Tue, 19 Dec 2023 19:44:41 +0000 (20:44 +0100)] 
patch 9.0.2179: no filetype detection for execline scripts

Problem:  no filetype detection for execline scripts
Solution: Add filetype detection for execline

as a prior to adding syntax support for execline (see
https://github.com/djpohly/vim-execline/issues/2), i went ahead and made
the filetype detection for execline scripts.

closes: #13689

Signed-Off-By: Mazunki Hoksaas <rolferen@gmail.com>
Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agopatch 9.0.2178: reg_executing() wrong for :normal with range v9.0.2178
zeertzjq [Tue, 19 Dec 2023 19:35:40 +0000 (20:35 +0100)] 
patch 9.0.2178: reg_executing() wrong for :normal with range

Problem:  reg_executing() returns wrong result in :normal with range
          when 'showcmd' is set (after 8.2.4705).
Solution: Reset "pending_end_reg_executing" when executing a register.

closes: #13707

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agopatch 9.0.2177: Wrong cursor position when dragging out of window v9.0.2177
zeertzjq [Tue, 19 Dec 2023 19:28:31 +0000 (20:28 +0100)] 
patch 9.0.2177: Wrong cursor position when dragging out of window

Problem:  Wrong cursor position when dragging out of window.
Solution: Don't use ScreenCols[] when mouse is not in current window.

closes: #13717

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agotranslation(sr): Update Serbian messages translation (#13719)
Ivan Pešić [Tue, 19 Dec 2023 19:24:30 +0000 (23:24 +0400)] 
translation(sr): Update Serbian messages translation (#13719)

Signed-off-by: Ivan Pešić <27575106+eevan78@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(netrw): prevent E11 on FocusGained autocommand (#13718)
Christian Brabandt [Tue, 19 Dec 2023 19:22:18 +0000 (20:22 +0100)] 
runtime(netrw): prevent E11 on FocusGained autocommand (#13718)

Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agotranslation(ja): Update Japanese translation (#13723)
K.Takata [Tue, 19 Dec 2023 19:21:40 +0000 (04:21 +0900)] 
translation(ja): Update Japanese translation (#13723)

ref: https://github.com/vim-jp/lang-ja/releases/tag/20231219

Signed-off-by: Ken Takata <kentkt@csc.jp>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(8th): updated 8th syntax (#13720)
ronaaron [Tue, 19 Dec 2023 19:20:14 +0000 (21:20 +0200)] 
runtime(8th): updated 8th syntax (#13720)

* updated 8th.vim
* removed obsolete code

Signed-off-by: Ron Aaron <ron@aaron-tech.com>
Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoCI: change dependabot prefix to "CI" (#13724)
zeertzjq [Tue, 19 Dec 2023 19:17:08 +0000 (03:17 +0800)] 
CI: change dependabot prefix to "CI" (#13724)

The default prefix of dependabot is "build(deps)".  Change it to "CI".

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(doc): Update change.txt (#13725)
K.Takata [Tue, 19 Dec 2023 19:15:47 +0000 (04:15 +0900)] 
runtime(doc): Update change.txt (#13725)

Fix-up and clarify commit  e06f2b498ccca921f34a1bec4464f042a5a2cabd

Signed-off-by: Ken Takata <kentkt@csc.jp>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agopatch 9.0.2175: Compile error with Motif UI + mouse support v9.0.2176
Ken Takata [Tue, 19 Dec 2023 19:12:29 +0000 (20:12 +0100)] 
patch 9.0.2175: Compile error with Motif UI + mouse support

Problem:  Compile error with Motif UI + mouse support (after v9.0.1262)
Solution: Use correct oldval option pointer

Fix compilation error introduced by 9.0.1262 and found in #13704.

closes: #13726

Signed-off-by: Ken Takata <kentkt@csc.jp>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(doc): Create Changelog until v9.0.2175 (#13728)
Christian Brabandt [Tue, 19 Dec 2023 19:10:43 +0000 (20:10 +0100)] 
runtime(doc): Create Changelog until v9.0.2175 (#13728)

Patch list created using:
```
git log --grep='^patch' --reverse --pretty='format:%D%gs%n%b' "v9.0.0000~1"..master  |sed -e '/^Signed-off-by:.*/d' -e '/^\(closes\|fixes\)/d' -e 's/^tag: v/Patch /'
```

and then post-processed using vim.

Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agotranslation(it): Update Italian translations
Antonio Giovanni Colombo [Mon, 18 Dec 2023 08:08:41 +0000 (09:08 +0100)] 
translation(it): Update Italian translations

Signed-off-by: Antonio Giovanni Colombo <azc100@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(tmux): Update tmux syntax rules (#13708)
Eric Pruitt [Mon, 18 Dec 2023 08:03:40 +0000 (00:03 -0800)] 
runtime(tmux): Update tmux syntax rules (#13708)

Signed-off-by: Eric Pruitt <eric.pruitt@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agotranslation(tr): Update Turkish translations (#13710)
Emir SARI [Mon, 18 Dec 2023 08:02:04 +0000 (08:02 +0000)] 
translation(tr): Update Turkish translations (#13710)

Signed-off-by: Emir SARI <emir_sari@icloud.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agopatch 9.0.2175: Compiler warning for uninitialized var v9.0.2175
Yegappan Lakshmanan [Mon, 18 Dec 2023 07:58:29 +0000 (08:58 +0100)] 
patch 9.0.2175: Compiler warning for uninitialized var

Problem:  Compiler warning for uninitialized var
Solution: initialize variable to NULL

closes: #13711

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(fortan): update fortran syntax rules and doc notes
Ajit-Thakkar [Mon, 18 Dec 2023 07:53:21 +0000 (08:53 +0100)] 
runtime(fortan): update fortran syntax rules and doc notes

Update to the Fortran 2023 standard. Reorganize some code to reflect the
dropping of dialect support in the previous commit. Minor improvements.

closes: #13712

Signed-off-by: Ajit-Thakkar <142174202+Ajit-Thakkar@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agopatch 9.0.2174: Vim9: segfault when assigning to type v9.0.2174
Ernie Rael [Mon, 18 Dec 2023 07:34:41 +0000 (08:34 +0100)] 
patch 9.0.2174: Vim9: segfault when assigning to type

Problem:  Vim9: segfault when assigning to type
Solution: do not clear typeval, add missing patch number

closes: #13714
closes: #13715

Signed-off-by: Ernie Rael <errael@raelity.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoCI: bump github/codeql-action from 2 to 3 (#13716)
dependabot[bot] [Mon, 18 Dec 2023 07:30:50 +0000 (07:30 +0000)] 
CI: bump github/codeql-action from 2 to 3 (#13716)

Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(doc): remove deprecation warning for gdefault
dundargoc [Sat, 16 Dec 2023 13:53:52 +0000 (14:53 +0100)] 
runtime(doc): remove deprecation warning for gdefault

Deprecated can be misunderstood as being slated for removal; slightly
change wording to be clearer.

Signed-off-by: dundargoc <gocdundar@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agopatch 9.0.2173: Vim9: crash when compiling for statement and non-existing type v9.0.2173
Yegappan Lakshmanan [Sat, 16 Dec 2023 13:46:40 +0000 (14:46 +0100)] 
patch 9.0.2173: Vim9: crash when compiling for statement and non-existing type

Problem:  Vim9: Vim crashes when compiling a for statement with a
          non-existing type
Solution: Error out when  lhs_type is not null

closes: #13703

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agopatch 9.0.2172: Vim9: compiling :defer may fail v9.0.2172
Yegappan Lakshmanan [Sat, 16 Dec 2023 13:36:08 +0000 (14:36 +0100)] 
patch 9.0.2172: Vim9: compiling :defer may fail

Problem:  Vim9: compiling :defer may fail
Solution: compile defer, when ctx_skip is not SKIP_YES

compiling defer fails in an if statement with false condition,
so check the ctx_skip value when compiling :defer

fixes:  #13698
closes: #13702

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agotranslation(ie): Updated Irish translation (#13699)
Kevin Scannell [Sat, 16 Dec 2023 13:30:12 +0000 (07:30 -0600)] 
translation(ie): Updated Irish translation (#13699)

Signed-off-by: Kevin Scannell <kscanne@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(logtalk): Update Logtalk runtime files for the latest language spec (#13697)
Paulo Moura [Sat, 16 Dec 2023 13:27:09 +0000 (13:27 +0000)] 
runtime(logtalk): Update Logtalk runtime files for the latest language spec (#13697)

Signed-off-by: Paulo Moura <pmoura@logtalk.org>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(racket): update Racket runtime files (#13693)
D. Ben Knoble [Sat, 16 Dec 2023 13:24:15 +0000 (08:24 -0500)] 
runtime(racket): update Racket runtime files (#13693)

This brings the included Racket runtime files to commit 43bfc87 (update
headers, 2023-12-15) of https://github.com/benknoble/vim-racket. Note
that not all files from that repository are included. (In particular,
the ftdetect script is omitted for now.)

Signed-off-by: D. Ben Knoble <ben.knoble+github@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(colorschemes): Update colorschemes (#13691)
Maxim Kim [Sat, 16 Dec 2023 13:22:44 +0000 (00:22 +1100)] 
runtime(colorschemes): Update colorschemes (#13691)

Minor changes:

- Regenerated using colortemplate 2.2.3
- Removed reversed gui-cursor for some of the colorschemes (retrobox, wildcharm, lunaperche)
- Change MatchParen for some of colorschemes.

Signed-off-by: Maxim Kim <habamax@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agopatch 9.0.2171: The options[] array is still not sorted alphabetically v9.0.2171
zeertzjq [Sat, 16 Dec 2023 13:14:36 +0000 (14:14 +0100)] 
patch 9.0.2171: The options[] array is still not sorted alphabetically

Problem:  The options[] array is still not sorted alphabetically
          (after: v9.0.2154), causing test failures
Solution: Sort the remaining items

This causes an failure for the vim/vim-win32-installer builds, so make
sure it is completely sorted.

closes: #13690

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agopatch 9.0.2170: Vim9: no support for const/final class/objects vars v9.0.2170
Yegappan Lakshmanan [Sat, 16 Dec 2023 13:11:19 +0000 (14:11 +0100)] 
patch 9.0.2170: Vim9: no support for const/final class/objects vars

Problem:  Vim9: no support for const/final class/objects vars
Solution: Support final and const object and class variables

closes: #13655

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agopatch 9.0.2169: Vim9: builtin funcs may accept a non-value v9.0.2169
Ernie Rael [Sat, 16 Dec 2023 13:03:33 +0000 (14:03 +0100)] 
patch 9.0.2169: Vim9: builtin funcs may accept a non-value

Problem:  Vim9: builtin funcs may accept a non-value
Solution: Restrict builtin functions that accept `type`

This PR finishes off detection and prevention of using a type as a
value. It takes care of builtin functions. However there are some
builtin functions, that need to be able to handle types as well as
non-args: instanceof(), type(), typename(), string().

A "bit", FE_X, is added to funcentry_T; when set, the builtin function
can handle a type (class or type-alias) in addition to a value.

Noteworthy change: Discovered that in compile_call() the builtin add()
is compiled inline instead of calling the builtin. Had to add a check
there.

closes: #13688

Signed-off-by: Ernie Rael <errael@raelity.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agopatch 9.0.2168: Moving tabpages on :drop may cause an endless loop v9.0.2168
Christian Brabandt [Sat, 16 Dec 2023 12:55:32 +0000 (13:55 +0100)] 
patch 9.0.2168: Moving tabpages on :drop may cause an endless loop

Problem:  Moving tabpages on :drop may cause an endless loop
Solution: Disallow moving tabpages on :drop when cleaning up the arglist
          first

Moving tabpages during drop command may cause an endless loop

When executing a :tab drop command, Vim will close all windows not in
the argument list. This triggers various autocommands. If a user has
created an 'au Tabenter * :tabmove -' autocommand, this can cause Vim to
end up in an endless loop, when trying to iterate over all tabs (which
would trigger the tabmove autocommand, which will change the tpnext
pointer, etc).

So instead of blocking all autocommands before we actually try to edit
the given file, lets simply disallow to move tabpages around. Otherwise,
we may change the expected number of events triggered during a :drop
command, which users may rely on (there is actually a test, that expects
various TabLeave/TabEnter autocommands) and would therefore be a
backwards incompatible change.

Don't make this an error, as this could trigger several times during the
drop command, but silently ignore the :tabmove command in this case (and
it should in fact finally trigger successfully when loading the given
file in a new tab). So let's just be quiet here instead.

fixes:  #13676
closes: #13686

Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(cmake): sync runtime files with upstream (#13597)
Eisuke Kawashima [Thu, 14 Dec 2023 19:38:29 +0000 (04:38 +0900)] 
runtime(cmake): sync runtime files with upstream (#13597)

Signed-off-by: e-kwsm@users.noreply.github.com
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(doc): grammar & typo fixes
Dominique Pellé [Thu, 14 Dec 2023 19:36:32 +0000 (20:36 +0100)] 
runtime(doc): grammar & typo fixes

closes: #13654

19 months agoruntime(termdebug): add Tbreak command
iam28th [Thu, 14 Dec 2023 19:30:26 +0000 (20:30 +0100)] 
runtime(termdebug): add Tbreak command

closes: #13656

Signed-off-by: iam28th <artyom28th@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agopatch 9.0.2167: Vim9: not consistently using :var for declarations v9.0.2167
Doug Kearns [Thu, 14 Dec 2023 19:26:26 +0000 (20:26 +0100)] 
patch 9.0.2167: Vim9: not consistently using :var for declarations

Problem:  Vim9-script object/class variable declarations use syntax
  that is inconsistent with the rest of the language.
Solution: Use :var to declare object and class variables.

closes: #13670

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agopatch 9.0.2166: Memory leak in Configure Script when checking GTK v9.0.2166
Zdenek Dohnal [Thu, 14 Dec 2023 19:22:49 +0000 (20:22 +0100)] 
patch 9.0.2166: Memory leak in Configure Script when checking GTK

Problem:  Memory leak in Configure Script when checking GTK
Solution: Free the allocated memory

If the memory is not freed, GTK GUI VIM cannot be build with address
sanitizer for debugging purposes - configure script will report missing
GTK, because the testing file compilation fails due reported memory
leak.

closes: #13672

Signed-off-by: Zdenek Dohnal <zdohnal@redhat.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agopatch 9.0.2165: Vim9: can simplify arg type checking code v9.0.2165
Ernie Rael [Thu, 14 Dec 2023 19:17:04 +0000 (20:17 +0100)] 
patch 9.0.2165: Vim9: can simplify arg type checking code

Problem:  Vim9: can simplify arg type checking code
Solution: In `f_argcheck` array use `arg_any`, instead of NULL

closes: #13674

Signed-off-by: Ernie Rael <errael@raelity.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agopatch 9.0.2164: Vim9: can use type a func arg/return value v9.0.2164
Ernie Rael [Thu, 14 Dec 2023 19:11:44 +0000 (20:11 +0100)] 
patch 9.0.2164: Vim9: can use type a func arg/return value

Problem:  Vim9: can use type a func arg/return value
Solution: Check if using type as function argument or return value

closes: #13675

Signed-off-by: Ernie Rael <errael@raelity.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(netrw): escape curdir in BrowseUpDir (#13681)
Christian Brabandt [Thu, 14 Dec 2023 19:09:07 +0000 (20:09 +0100)] 
runtime(netrw): escape curdir in BrowseUpDir (#13681)

 fixes #13678

Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agopatch 9.0.2163: Vim9: type can be assigned to list/dict v9.0.2163
Ernie Rael [Thu, 14 Dec 2023 19:06:39 +0000 (20:06 +0100)] 
patch 9.0.2163: Vim9: type can be assigned to list/dict

Problem:  Vim9: type can be assigned to list/dict
Solution: Prevent assigning a `type` to a `list` or `dict`

closes: #13683

Signed-off-by: Ernie Rael <errael@raelity.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agopatch 9.0.2162: Vim9: type documentation out-dated v9.0.2162
Yegappan Lakshmanan [Thu, 14 Dec 2023 19:03:03 +0000 (20:03 +0100)] 
patch 9.0.2162: Vim9: type documentation out-dated

Problem:  Vim9: type documentation out-dated
Solution: Update documentation, fix typo in type alias
          definition

closes: #13684

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agopatch 9.0.2161: Vim9: not able to use imported interfaces and classes v9.0.2161
Yegappan Lakshmanan [Thu, 14 Dec 2023 18:59:45 +0000 (19:59 +0100)] 
patch 9.0.2161: Vim9: not able to use imported interfaces and classes

Problem:  Vim9: not able to use imported interfaces and classes
Solution: Detect imported class/interfaces names correclty

fixes:  #13661
closes: #13685

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoCI: Fix i386 build (#13680)
K.Takata [Thu, 14 Dec 2023 06:58:48 +0000 (15:58 +0900)] 
CI: Fix i386 build (#13680)

Fix the following error:
```
The following packages have unmet dependencies:
 binutils : Conflicts: binutils:i386 but 2.38-4ubuntu2.4 is to be installed
 binutils:i386 : Conflicts: binutils but 2.38-4ubuntu2.3 is to be installed
 binutils-common : Breaks: binutils-common:i386 (!= 2.38-4ubuntu2.3) but 2.38-4ubuntu2.4 is to be installed
 binutils-common:i386 : Breaks: binutils-common (!= 2.38-4ubuntu2.4) but 2.38-4ubuntu2.3 is to be installed
 libbinutils : Breaks: libbinutils:i386 (!= 2.38-4ubuntu2.3) but 2.38-4ubuntu2.4 is to be installed
 libbinutils:i386 : Breaks: libbinutils (!= 2.38-4ubuntu2.4) but 2.38-4ubuntu2.3 is to be installed
 libctf0 : Breaks: libctf0:i386 (!= 2.38-4ubuntu2.3) but 2.38-4ubuntu2.4 is to be installed
 libctf0:i386 : Breaks: libctf0 (!= 2.38-4ubuntu2.4) but 2.38-4ubuntu2.3 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
```

Run `apt-get upgrade` before installing additional packages.

Signed-off-by: K.Takata <kentkt@csc.jp>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoCI: Fix labeler.yml (#13677)
K.Takata [Wed, 13 Dec 2023 09:45:57 +0000 (18:45 +0900)] 
CI: Fix labeler.yml (#13677)

* CI: Fix labeler.yml

Use `any-glob-to-any-file` instead of `any-glob-to-all-files` in most
places.

* Adjust indentation

19 months agoCI: label.yml: fixup for v5 (#13673)
Philip H [Wed, 13 Dec 2023 07:50:35 +0000 (08:50 +0100)] 
CI: label.yml: fixup for v5 (#13673)

* label.yml: sync-labels true

* fixup: remove unused lines

Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com>
Signed-off-by: K.Takata <kentkt@csc.jp>
19 months agopatch 9.0.2160: instanceof() should use varargs as second arg v9.0.2160
Ernie Rael [Tue, 12 Dec 2023 15:58:00 +0000 (16:58 +0100)] 
patch 9.0.2160: instanceof() should use varargs as second arg

Problem:  instanceof() should use varargs as second arg
Solution: Modify `instanceof()` to use varargs instead of list

Modify `instanceof()` to use varargs instead of list
Valid `instanceof()` arguments are `type`s. A `type` is not a value;
it cannot be added to a list.

This change is non-compatible with the current usage of instanceof;
but instanceof is relatively new and it's a trivial change.

fixes: #13421
closes: #13644

Signed-off-by: Ernie Rael <errael@raelity.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoCI: bump actions/labeler from 4 to 5 (#13658)
dependabot[bot] [Tue, 12 Dec 2023 15:51:32 +0000 (16:51 +0100)] 
CI: bump actions/labeler from 4 to 5 (#13658)

Bumps [actions/labeler](https://github.com/actions/labeler) from 4 to 5.
- [Release notes](https://github.com/actions/labeler/releases)
- [Commits](https://github.com/actions/labeler/compare/v4...v5)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(vim): Update syntax file, fix missing for highlight (#13668)
dkearns [Tue, 12 Dec 2023 15:47:43 +0000 (02:47 +1100)] 
runtime(vim): Update syntax file, fix missing for highlight (#13668)

Fix highlighting of :for command.  Link the vimFor syntax group to the
vimCommand highlight group.

Error introduced in commit f686921

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agopatch 9.0.2159: screenpos() may crash with neg. column v9.0.2159
zeertzjq [Tue, 12 Dec 2023 15:43:44 +0000 (16:43 +0100)] 
patch 9.0.2159: screenpos() may crash with neg. column

Problem:  screenpos() may crash with neg. column
Solution: validate and correct column

closes: #13669

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
20 months agoCI: labeler.yml: update to v5 (#13664)
Philip H [Mon, 11 Dec 2023 17:35:52 +0000 (18:35 +0100)] 
CI: labeler.yml: update to v5 (#13664)

Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
20 months agopatch 9.0.2158: [security]: use-after-free in check_argument_type v9.0.2158
Christian Brabandt [Mon, 11 Dec 2023 16:53:25 +0000 (17:53 +0100)] 
patch 9.0.2158: [security]: use-after-free in check_argument_type

Problem:  [security]: use-after-free in check_argument_type
Solution: Reset function type pointer when freeing the function type
          list

function pointer fp->uf_func_type may point to the same memory, that was
allocated for fp->uf_type_list. However, when cleaning up a function
definition (e.g. because it was invalid), fp->uf_type_list will be
freed, but fp->uf_func_type may still point to the same (now) invalid
memory address.

So when freeing the fp->uf_type_list, check if fp->func_type points to
any of those types and if it does, reset the fp->uf_func_type pointer to
the t_func_any (default) type pointer

closes: #13652

Signed-off-by: Christian Brabandt <cb@256bit.org>
20 months agopatch 9.0.2157: Vim9: incorrectly parses :def func definitions v9.0.2157
Christian Brabandt [Fri, 8 Dec 2023 19:57:38 +0000 (20:57 +0100)] 
patch 9.0.2157: Vim9: incorrectly parses :def func definitions

Problem:  Vim9: incorrectly parses :def func definitions
Solution: check for more context when parsing function args

Signed-off-by: Christian Brabandt <cb@256bit.org>
Incorrectly parses def function definitions

Vim currently allows to define the following vim9 function:
  def Func(f=
  )
  enddef

It currently thinks a Lambda is following the `=` but it doesn't check,
that there is actually an expression following. So when such a think is
encountered, remember that an expression should be following.

If no expression is coming in the next few lines, fail parsing the
function arguments, which will Vim no longer accept such a function.

Signed-off-by: Christian Brabandt <cb@256bit.org>
20 months agopatch 9.0.2156: Vim9: can use typealias in assignment v9.0.2156
Ernie Rael [Mon, 11 Dec 2023 16:40:46 +0000 (17:40 +0100)] 
patch 9.0.2156: Vim9: can use typealias in assignment

Problem:  Vim9: can use typealias in an assignment
Solution: Generate errors when class/typealias involved in the rhs of an
          assignment

closes: #13637

Signed-off-by: Ernie Rael <errael@raelity.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Generate errors when class/typealias involved in assignment.

20 months agoruntime(filetype): ft detection maybe wrong if 'fic' set for *.[CH]
shane.xb.qian [Mon, 11 Dec 2023 16:33:03 +0000 (17:33 +0100)] 
runtime(filetype): ft detection maybe wrong if 'fic' set for *.[CH]

So only set the filetype to cpp for *.C and *.H files, if
'fileignorecase' option is not set.

Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
20 months agoruntime(doc): re-generate helptags
Christian Brabandt [Mon, 11 Dec 2023 16:32:09 +0000 (17:32 +0100)] 
runtime(doc): re-generate helptags

Signed-off-by: Christian Brabandt <cb@256bit.org>
20 months agoruntime(sbt): do not set b:did_ftplugin before sourcing scala ftplugin(#13657)
Karl Yngve Lervåg [Mon, 11 Dec 2023 16:17:20 +0000 (17:17 +0100)] 
runtime(sbt): do not set b:did_ftplugin before sourcing scala ftplugin(#13657)

The `b:did_ftplugin` guard was set and prevented us from actually sourcing `ftplugin/scala.vim`. Since the latter script also sets the guard properly, we can simply remove the guard here.

Signed-off-by: =?UTF-8?q?Karl=20Yngve=20Lerv=C3=A5g?= <karl.yngve+git@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
20 months agoruntime(netrw): Fix `w:netrw_bannercnt` ref error with `netrw_fastbrowse=2` (#13659)
KSR-Yasuda [Mon, 11 Dec 2023 16:11:43 +0000 (01:11 +0900)] 
runtime(netrw): Fix `w:netrw_bannercnt` ref error with `netrw_fastbrowse=2` (#13659)

* NetRW: Fix `w:netrw_bannercnt` ref error with `netrw_fastbrowse=2`
* NetRW: Fix wrong `w:netrw_bannercnt` setting

closes: #13640

Signed-off-by: yasuda <yasuda@kyoto-sr.co.jp>
Signed-off-by: Christian Brabandt <cb@256bit.org>
20 months agoruntime(json): fix examples in comments for JSON formatting (#13660)
Maxim Kim [Mon, 11 Dec 2023 16:09:38 +0000 (03:09 +1100)] 
runtime(json): fix examples in comments for JSON formatting (#13660)

Signed-off-by: Maxim Kim <habamax@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
20 months agoruntime(json): Add json formating plugin (Issue #11426) (#11506)
Maxim Kim [Sun, 10 Dec 2023 14:57:41 +0000 (01:57 +1100)] 
runtime(json): Add json formating plugin (Issue #11426) (#11506)

related: #11426

Signed-off-by: Maxim Kim <habamax@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
20 months agoruntime(vim): Update syntax file (#13653)
dkearns [Sun, 10 Dec 2023 14:53:24 +0000 (01:53 +1100)] 
runtime(vim): Update syntax file (#13653)

Improve variable highlighting in :let, :unlet, :const and :for commands.

Match registers and local, global and terminal option variables.

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
20 months agoruntime(doc): link cmdline completion to to |wildcards| and fix typos (#13636)
zeertzjq [Sat, 9 Dec 2023 07:18:33 +0000 (15:18 +0800)] 
runtime(doc): link cmdline completion to to |wildcards| and fix typos (#13636)

The docs for cmdline completion doesn't mention that [abc] is considered
a wildcard, and |wildcards| contains more detailed information, so just
link to it.

Also fix some typos in other help files.

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
20 months agoruntime(doc): Update eval.txt (#13645)
K.Takata [Fri, 8 Dec 2023 20:51:04 +0000 (05:51 +0900)] 
runtime(doc): Update eval.txt (#13645)

expr5 is also expr6 itself.

Signed-off-by: K.Takata <kentkt@csc.jp>
Signed-off-by: Christian Brabandt <cb@256bit.org>
20 months agopatch 9.0.2155: Vim9: type not kept when assigning vars v9.0.2155
Yegappan Lakshmanan [Fri, 8 Dec 2023 20:41:23 +0000 (21:41 +0100)] 
patch 9.0.2155: Vim9: type not kept when assigning vars

Problem:  Vim9: type not kept when assigning vars
Solution: When assigning a List or a Dict value to a variable of type
          'any', keep the type

closes: #13639
closes: #13646

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
20 months agopatch 9.0.2154: The option[] array is not sorted v9.0.2154
zeertzjq [Fri, 8 Dec 2023 20:34:31 +0000 (21:34 +0100)] 
patch 9.0.2154: The option[] array is not sorted

Problem:  The options[] array is not sorted alphabetically.
Solution: Sort it alphabetically.  Add a test.  Avoid unnecessary loop
          iterations in findoption().

closes: #13648

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
20 months agoruntime(syntax): unlet b:filetype_in_cpp_family for cpp & squirrel
laburnumT [Fri, 8 Dec 2023 20:27:03 +0000 (21:27 +0100)] 
runtime(syntax): unlet b:filetype_in_cpp_family for cpp & squirrel

Update runtime/syntax/cpp.vim and runtime/syntax/squirrel.vim to unlet
b:filetype_in_cpp_family as it remains set even after updating the ft of
a file manually or through a modeline, not allowing c specific keywords
to be highlighted.

Since the variable b:filetype_in_cpp_family is only used by the c.vim
syntax script, unlet it directly after sourcing the c.vim runtime file
instead of at the end of the script.

Also update the last Change Header for both files.

closes: #13650

Signed-off-by: laburnumT <laburnumtec@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
20 months agoruntime(doc): fix typo in change.txt
Christian Brabandt [Fri, 8 Dec 2023 20:21:53 +0000 (21:21 +0100)] 
runtime(doc): fix typo in change.txt

Signed-off-by: Christian Brabandt <cb@256bit.org>
20 months agoruntime(fortran): update syntax and ftplugins
Ajit-Thakkar [Tue, 5 Dec 2023 22:07:27 +0000 (23:07 +0100)] 
runtime(fortran): update syntax and ftplugins

closes: #13629

Signed-off-by: Ajit-Thakkar <142174202+Ajit-Thakkar@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
20 months agoruntime(vim): Update syntax file and syntax test (#13632)
dkearns [Tue, 5 Dec 2023 21:58:40 +0000 (08:58 +1100)] 
runtime(vim): Update syntax file and syntax test (#13632)

Add missing assignment operators (:let*=, :let/= and :let%=).

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
20 months agoruntime(doc): Sort options.txt alphabetically
laburnumT [Tue, 5 Dec 2023 17:37:03 +0000 (18:37 +0100)] 
runtime(doc): Sort options.txt alphabetically

Related to: vim/vim#13630

1. Sort section 3 (option-summary) of runtime/doc/options.txt in
   alphabetical order.
2. Remove double newlines in section 3 (option-summary).

I did not alphabetically sort ttimeout and ttimeoutlen because they seem
to belong with timeout and timeoutlen respectively, but I would like
some input on that decision.

Signed-off-by: laburnumT <laburnumtec@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
20 months agoruntime(doc): update todo items (#13631)
Yegappan Lakshmanan [Tue, 5 Dec 2023 16:19:06 +0000 (08:19 -0800)] 
runtime(doc): update todo items (#13631)

Signed-off-by: Christian Brabandt <cb@256bit.org>
20 months agoruntime(doc): sort option-list alphabetically (#13630)
Teppei Taguchi [Tue, 5 Dec 2023 15:37:32 +0000 (00:37 +0900)] 
runtime(doc): sort option-list alphabetically (#13630)

Signed-off-by: Christian Brabandt <cb@256bit.org>
20 months agopatch 9.0.2153: no support to build on OpenVMS v9.0.2153
Zoltan Arpadffy [Tue, 5 Dec 2023 15:04:23 +0000 (16:04 +0100)] 
patch 9.0.2153: no support to build on OpenVMS

Problem:  no support to build on OpenVMS
Solution: Add OpenVMS X86_64 platform port

closes: #13623

Co-authored-by: errael <errael@raelity.com>
Co-authored-by: K.Takata <kentkt@csc.jp>
Signed-off-by: Zoltan Arpadffy <zoltan.arpadffy@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>