]> git.ipfire.org Git - thirdparty/vim.git/log
thirdparty/vim.git
17 hours agopatch 9.1.0386: filetype: stylus files not recognized master v9.1.0386
Philip H [Wed, 1 May 2024 16:42:11 +0000 (18:42 +0200)] 
patch 9.1.0386: filetype: stylus files not recognized

Problem:  filetype: stylus files not recognized
Solution: Detect '*.styl' and '*.stylus' as stylus filetype,
          include indent, filetype and syntax plugin
          (Philip H)

closes: #14656

Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
18 hours agotranslation(es): update spanish menu localization
Oleg Zadorozhnyi [Wed, 1 May 2024 16:08:34 +0000 (18:08 +0200)] 
translation(es): update spanish menu localization

closes: #14690

Signed-off-by: Oleg Zadorozhnyi <lesorubshayan@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 hours agoruntime(doc): regenerate helptags (#14695)
Philip H [Wed, 1 May 2024 14:52:40 +0000 (16:52 +0200)] 
runtime(doc): regenerate helptags (#14695)

Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
24 hours agopatch 9.1.0385: Vim9: crash with null_class and null_object v9.1.0385
Yegappan Lakshmanan [Wed, 1 May 2024 09:44:17 +0000 (11:44 +0200)] 
patch 9.1.0385: Vim9: crash with null_class and null_object

Problem:  Vim9: crash with null_class and null_object
          (Aliaksei Budavei)
Solution: Handle null_class and null_object correctly
          (Yegappan Lakshmanan)

fixes: #14678
closes: #14681

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
25 hours agoruntime(doc): Add tags about lazyloading of menu (#14688)
K.Takata [Wed, 1 May 2024 09:35:32 +0000 (18:35 +0900)] 
runtime(doc): Add tags about lazyloading of menu (#14688)

Close #14672

Also add the `g:` prefix.

Signed-off-by: Ken Takata <kentkt@csc.jp>
Signed-off-by: Christian Brabandt <cb@256bit.org>
39 hours agopatch 9.1.0384: tests: vt420 terminfo entry may not be found v9.1.0384
Christian Brabandt [Tue, 30 Apr 2024 18:45:09 +0000 (20:45 +0200)] 
patch 9.1.0384: tests: vt420 terminfo entry may not be found

Problem:  tests: vt420 terminfo entry may not be found
          (Shane-XB-Qian)
Solution: check existence of terminfo vt420 and infocmp command

related: #14595
closes: #14677

Signed-off-by: Christian Brabandt <cb@256bit.org>
40 hours agopatch 9.1.0383: filetype: .out files recognized as tex files v9.1.0383
shane.xb.qian [Tue, 30 Apr 2024 18:35:53 +0000 (20:35 +0200)] 
patch 9.1.0383: filetype: .out files recognized as tex files

Problem:  filetype: .out files recognized as tex files
Solution: Do not set an explicit filetype until it is clear what this
          should be (shane.xb.qian)

closes: #14670

Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
40 hours agopatch 9.1.0382: filetype: Kbuild files are not recognized v9.1.0382
Bruno BELANYI [Tue, 30 Apr 2024 18:16:01 +0000 (20:16 +0200)] 
patch 9.1.0382: filetype: Kbuild files are not recognized

Problem:  Kbuild files are not recognized.
Solution: Detect Kbuild files as make files.
          (Bruno Belanyi)

closes: #14676

Signed-off-by: Bruno Belanyi <bruno@belanyi.fr>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 days agopatch 9.1.0381: cbuffer and similar commands don't accept a range v9.1.0381
Christian Brabandt [Mon, 29 Apr 2024 18:36:49 +0000 (20:36 +0200)] 
patch 9.1.0381: cbuffer and similar commands don't accept a range

Problem:  cbuffer and similar quickfix and locationlist commands don't
          accept a range, even so it is documented they should
          (ilan-schemoul, after 8.1.1241)
Solution: Define ex commands with ADDR_LINES instead of ADDR_OTHER

fixes: #14638
closes: #14657

Signed-off-by: Christian Brabandt <cb@256bit.org>
2 days agoruntime(java): Improve the recognition of the "indent" method declarations (#14659)
Aliaksei Budavei [Mon, 29 Apr 2024 18:24:35 +0000 (21:24 +0300)] 
runtime(java): Improve the recognition of the "indent" method declarations (#14659)

There is a flaw in the current implementation that has been
exacerbated around v5.2.  It lies in the recognition of all
three indentation styles simultaneously: a tab, two space,
and eight space character(s).  With it, it is not uncommon
to misidentify various constructs as method declarations
when they belong to two-space indented members and other
blocks of a type and are offset at eight space characters or
a tab from the start of the line.

For example,

------------------------------------------------------------
class Test
{
  static String hello() { return "hello"; }

  public static void main(String[] args)
  {
    try {
      if (args.length > 0) {
        // FIXME: eight spaces.
        System.out.println(args[0]);
      } else {
        // FIXME: a tab.
System.out.println(hello());
      }
    } catch (Exception e) {
      throw new Error(e);
    }
  }
}
------------------------------------------------------------

------------------------------------------------------------
:let g:java_highlight_functions = 'indent'
:doautocmd Syntax
------------------------------------------------------------

A better approach is to pick an only indentation style out
of all supported styles (so either two spaces _or_ eight
spaces _or_ a tab).  Note that tabs and spaces can still be
mixed, only the leading tab or the leading run of spaces
matters for the recognition.  And there is no reason to not
complement the set of valid styles with any number of spaces
from 1 to 8, inclusively.

Please proceed with the necessary change as follows:

- rename from "indent" to "indent2" for a 2-space run;
- rename from "indent" to "indent8" for an 8-space run;
- continue to have "indent" for a tab run;
- define an "indent" variable with a suffix number denoting
  the preferred amount of indentation for any other run of
  spaces [1-8].

As before, this alternative style of recognition of method
declarations still does not prescribe naming conventions and
still cannot recognise method declarations in nested types
that are conventionally indented.

The proposed changes also follow suit of "style" in stopping
the claiming of constructor and enum constant declarations.

Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 days agoruntime(doc): Fix a typo in usr_30.txt
UM-Li [Mon, 29 Apr 2024 18:22:10 +0000 (20:22 +0200)] 
runtime(doc): Fix a typo in usr_30.txt

closes: #14662

Signed-off-by: UM-Li <um-li@tuta.io>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 days agoruntime(jq): remove undefined var s:save_cpoptions and add include setting
GodFather [Mon, 29 Apr 2024 18:16:29 +0000 (20:16 +0200)] 
runtime(jq): remove undefined var s:save_cpoptions and add include setting

closes: #14661
closes: #14663

Co-authored-by: itchyny <itchyny@cybozu.co.jp>
Signed-off-by: GodFather <vito.blog@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 days agoruntime(asm): missing setlocal in indent plugin (#14658)
Marc Sven Schulte [Sun, 28 Apr 2024 19:43:03 +0000 (21:43 +0200)] 
runtime(asm): missing setlocal in indent plugin (#14658)

Signed-off-by: Marc Sven Schulte <167623652+msschulte@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 days agopatch 9.1.0380: Calculating line height for unnecessary amount of lines v9.1.0380
Luuk van Baal [Sun, 28 Apr 2024 14:24:02 +0000 (16:24 +0200)] 
patch 9.1.0380: Calculating line height for unnecessary amount of lines

Problem:  Calculating line height for unnecessary amount of lines with
          half-page scrolling (zhscn, after 9.1.0280)
Solution: Replace "limit_winheight" argument with higher resolution
          "max" argument to which to limit the calculated line height
          in plines_m_win() to (Luuk van Baal)

fixes: #14650
closes: #14652

Signed-off-by: Luuk van Baal <luukvbaal@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 days agoruntime(ssa): improve syntax file performance (#14654)
ObserverOfTime [Sun, 28 Apr 2024 14:22:55 +0000 (17:22 +0300)] 
runtime(ssa): improve syntax file performance (#14654)

fixes: #14653

Signed-off-by: ObserverOfTime <chronobserver@disroot.org>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 days agopatch 9.1.0379: There are a few typos v9.1.0379
zeertzjq [Sun, 28 Apr 2024 14:20:55 +0000 (16:20 +0200)] 
patch 9.1.0379: There are a few typos

Problem:  There are a few typos
Solution: Fix them (zeertzjq)

closes: #14655

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 days agopatch 9.1.0378: Vim9: no comments allowed after class vars v9.1.0378
Yegappan Lakshmanan [Sun, 28 Apr 2024 07:54:09 +0000 (09:54 +0200)] 
patch 9.1.0378: Vim9: no comments allowed after class vars

Problem:  Vim9: no comments allowed after class vars
          (Christian Robinson, after 9.1.376)
Solution: Allow trailing comments after class vars
          (Yegappan Lakshmanan)

closes: #14651

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
5 days agoruntime(doc): CI: remove trailing white space in documentation
Christian Brabandt [Sat, 27 Apr 2024 10:01:15 +0000 (12:01 +0200)] 
runtime(doc): CI: remove trailing white space in documentation

Signed-off-by: Christian Brabandt <cb@256bit.org>
5 days agopatch 9.1.0377: Formatting text wrong when 'breakindent' is set v9.1.0377
Christian Brabandt [Sat, 27 Apr 2024 09:55:08 +0000 (11:55 +0200)] 
patch 9.1.0377: Formatting text wrong when 'breakindent' is set

Problem:  formatting text wrong when 'breakindent' is set
          (Gary Johnson)
Solution: temporarily disable 'breakindent' option when formatting text,
          so that the breakindent is not wrongly taken into account for
          the line length

fixes: #14630
closes: #14637

Signed-off-by: Christian Brabandt <cb@256bit.org>
5 days agoruntime(debversions): Add oracular (24.10) as Ubuntu release name
Simon Quigley [Sat, 27 Apr 2024 09:51:45 +0000 (11:51 +0200)] 
runtime(debversions): Add oracular (24.10) as Ubuntu release name

closes: #14645

Signed-off-by: Simon Quigley <simon@tsimonq2.net>
Signed-off-by: James McCoy <jamessan@jamessan.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
5 days agopatch 9.1.0376: Vim9: Trailing commands after class/enum keywords ignored v9.1.0376
Yegappan Lakshmanan [Sat, 27 Apr 2024 09:36:12 +0000 (11:36 +0200)] 
patch 9.1.0376: Vim9: Trailing commands after class/enum keywords ignored

Problem:  Vim9: Trailing commands after class/enum keywords ignored
Solution: Remove EX_TRLBAR keyword from command definition
          (Yegappan Lakshmanan)

closes: #14649

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
5 days agopatch 9.1.0375: tests: 1-second delay after Test_BufEnter_botline() v9.1.0375
zeertzjq [Sat, 27 Apr 2024 09:33:24 +0000 (11:33 +0200)] 
patch 9.1.0375: tests: 1-second delay after Test_BufEnter_botline()

Problem:  tests: 1-second delay after Test_BufEnter_botline()
          (after v9.1.0374)
Solution: Wipe the created buffers (zeertzjq).

closes: #14647

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
5 days agoruntime(doc): update helptags for jq syntax (#14646)
Philip H [Sat, 27 Apr 2024 09:31:53 +0000 (11:31 +0200)] 
runtime(doc): update helptags for jq syntax (#14646)

Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
5 days agoruntime(jq): include syntax, ftplugin and compiler plugin
Vito [Fri, 26 Apr 2024 20:36:20 +0000 (22:36 +0200)] 
runtime(jq): include syntax, ftplugin and compiler plugin

closes: #14619

Signed-off-by: Vito <vito.blog@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
5 days agoruntime(doc): fix typo synconcealend -> synconcealed (#14644)
Philip H [Fri, 26 Apr 2024 17:57:20 +0000 (19:57 +0200)] 
runtime(doc): fix typo synconcealend -> synconcealed (#14644)

Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
5 days agoruntime(comment): include a simple comment toggling plugin
Maxim Kim [Fri, 26 Apr 2024 17:53:13 +0000 (19:53 +0200)] 
runtime(comment): include a simple comment toggling plugin

fixes #14626
closes: #14634

Signed-off-by: Maxim Kim <habamax@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
5 days agoruntime(doc): fix typo
Christian Brabandt [Fri, 26 Apr 2024 16:56:21 +0000 (18:56 +0200)] 
runtime(doc): fix typo

Signed-off-by: Christian Brabandt <cb@256bit.org>
5 days agopatch 9.1.0374: wrong botline in BufEnter v9.1.0374
Jaehwang Jung [Fri, 26 Apr 2024 16:48:48 +0000 (18:48 +0200)] 
patch 9.1.0374: wrong botline in BufEnter

Problem:  When :edit an existing buffer, line('w$') may return a
          wrong result.
Solution: Reset w_valid in curwin_init() (Jaehwang Jung)

`do_ecmd()` reinitializes the current window (`curwin_init()`) whose
`w_valid` field may have `VALID_BOTLINE` set. Resetting `w_botline`
without marking it as invalid makes subsequent `validate_botline()`
calls a no-op, thus resulting in wrong `line('w$')` value.

closes: #14642

Signed-off-by: Jaehwang Jung <tomtomjhj@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
5 days agoCI: ubuntu-toolchain-r/test repository will be removed (#14641)
Philip H [Fri, 26 Apr 2024 16:45:41 +0000 (18:45 +0200)] 
CI: ubuntu-toolchain-r/test repository will be removed (#14641)

* CI: ubuntu-toolchain-r/test repository will be removed

The ubuntu-toolchain-r/test PPA will be removed from Ubuntu images.
The images rollout process will start on May 6 and take 3-4 days.
Mitigation ways

The repository can still be added manually in runtime by calling to following commands:

sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
sudo apt-get update -y

* fixup: add a note what this repo is for

Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
5 days agoruntime(doc): clarify syntax vs matching mechanism
Christian Brabandt [Fri, 26 Apr 2024 16:42:59 +0000 (18:42 +0200)] 
runtime(doc): clarify syntax vs matching mechanism

fixes: #14643

Signed-off-by: Christian Brabandt <cb@256bit.org>
6 days agoruntime(asm): fix undefined variable in indent plugin
Christian Brabandt [Thu, 25 Apr 2024 20:42:05 +0000 (22:42 +0200)] 
runtime(asm): fix undefined variable in indent plugin

It's an indent script, so we need to set the  b:undo_indent variable
instead of the b:undo_ftplugin var.

fixes: #14602

Signed-off-by: Christian Brabandt <cb@256bit.org>
6 days agopatch 9.1.0373: ops.c code uses too many strlen() calls v9.1.0373
John Marriott [Thu, 25 Apr 2024 19:39:18 +0000 (21:39 +0200)] 
patch 9.1.0373: ops.c code uses too many strlen() calls

Problem:  ops.c code uses too many strlen() calls
Solution: Refactor code and remove more strlen() calls
          (John Marriott)

closes: #14598

Signed-off-by: John Marriott <basilisk@internode.on.net>
Signed-off-by: Christian Brabandt <cb@256bit.org>
6 days agopatch 9.1.0372: Calling CLEAR_FIELD() on the same struct twice v9.1.0372
zeertzjq [Thu, 25 Apr 2024 19:34:10 +0000 (21:34 +0200)] 
patch 9.1.0372: Calling CLEAR_FIELD() on the same struct twice

Problem:  Calling CLEAR_FIELD() on the same struct twice.
Solution: Remove the second CLEAR_FIELD().  Move the assignment of
          cookie.sourceing_lnum (zeertzjq).

closes: #14627

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
6 days agopatch 9.1.0371: Vim9: compile_def_function() still too long v9.1.0371
Yegappan Lakshmanan [Thu, 25 Apr 2024 19:30:56 +0000 (21:30 +0200)] 
patch 9.1.0371: Vim9: compile_def_function() still too long

Problem:  Vim9: compile_def_function() still too long
Solution: Refactor the code into separate functions
          (Yegappan Lakshmanan)

closes: #14632

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
6 days agotranslation(sr): Update Serbian messages (#14633)
Ivan Pešić [Thu, 25 Apr 2024 19:29:58 +0000 (23:29 +0400)] 
translation(sr): Update Serbian messages (#14633)

Signed-off-by: Ivan Pešić <27575106+eevan78@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
6 days agopatch 9.1.0370: MS-Windows: patch number is zero in installer v9.1.0370
RestorerZ [Thu, 25 Apr 2024 19:25:19 +0000 (21:25 +0200)] 
patch 9.1.0370: MS-Windows: patch number is zero in installer

Problem:  MS-Windows: patch number is zero in installer
          (jonathan-b-wiebe)
Solution: Set VIM_VERSION_PATCHLEVEL, fix a few typos in the installer
          (RestorerZ)

fixes: #14629
closes: #14635

Signed-off-by: RestorerZ <restorer@mail2k.ru>
Signed-off-by: Christian Brabandt <cb@256bit.org>
6 days agoruntime(doc): clarify the effect of setting the shell to powershell
Christian Brabandt [Thu, 25 Apr 2024 19:21:37 +0000 (21:21 +0200)] 
runtime(doc): clarify the effect of setting the shell to powershell

fixes: #14636

Signed-off-by: Christian Brabandt <cb@256bit.org>
7 days agoruntime(java): Improve the recognition of the "style" method declarations
Aliaksei Budavei [Wed, 24 Apr 2024 19:04:25 +0000 (21:04 +0200)] 
runtime(java): Improve the recognition of the "style" method declarations

- Request the new regexp engine (v7.3.970) for [:upper:] and
  [:lower:].

- Recognise declarations of in-line annotated methods.

- Recognise declarations of _strictfp_ methods.

- Establish partial order for method modifiers as shown in
  the MethodModifier production; namely, _public_ and
  friends should be written the leftmost, possibly followed
  by _abstract_ or _default_, or possibly followed by other
  modifiers.

- Stop looking for parameterisable primitive types (void<?>,
  int<Object>, etc., are malformed).

- Stop looking for arrays of _void_.

- Acknowledge the prevailing convention for method names to
  begin with a small letter and for class/interface names to
  begin with a capital letter; and, therefore, desist from
  claiming declarations of enum constants and constructors
  with javaFuncDef.
  Rationale:
    + Constructor is distinct from method:
      * its (overloaded) name is not arbitrary;
      * its return type is implicit;
      * its _throws_ clause depends on indirect vagaries of
        instance (variable) initialisers;
      * its invocation makes other constructors of its type
        hierarchy invoked one by one, concluding with the
        primordial constructor;
      * its explicit invocation, via _this_ or _super_, can
        only appear as the first statement in a constructor
        (not anymore, see JEP 447); else, its _super_ call
        cannot appear in constructors of _record_ or _enum_;
        and neither invocation is allowed for the primordial
        constructor;
      * it is not a member of its class, like initialisers,
        and is never inherited;
      * it is never _abstract_ or _native_.
    + Constructor declarations tend to be few in number and
      merit visual recognition from method declarations.
    + Enum constants define a fixed set of type instances
      and more resemble class variable initialisers.

Note that the code duplicated for @javaFuncParams is written
keeping in mind for g:java_highlight_functions a pending 3rd
variant, which would require none of the :syn-cluster added
groups.

closes: #14620

Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
7 days agopatch 9.1.0369: Vim9: problem when importing autoloaded scripts v9.1.0369
Ernie Rael [Wed, 24 Apr 2024 18:07:50 +0000 (20:07 +0200)] 
patch 9.1.0369: Vim9: problem when importing autoloaded scripts

Problem:  Vim9: problem when importing autoloaded scripts
Solution: In `:def` handle storing to vim9 autoload export
          (Ernie Rael)

Problem occurs when `import autoload ./.../autoload/...`. The autoload
in the specified path causes the use of an autoload_prefix which combines
with the `import autoload` to create trouble.

In `generate_store_var()` `case dest_script` use ISN_STOREEXPORT,
when needed, instead of ISN_STORES. When executing ISN_STOREEXPORT,
check for autoload_prefix.

fixes: #14606
closes: #14615

Signed-off-by: Ernie Rael <errael@raelity.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
7 days agoCI: remove microsoft-prod.list repository (#14628)
Philip H [Wed, 24 Apr 2024 17:55:11 +0000 (19:55 +0200)] 
CI: remove microsoft-prod.list repository (#14628)

This is added by default, and it is often broken, but we don't need anything from it.

Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
8 days agopatch 9.1.0368: MS-Windows: Hard to define the Vim Patchlevel with leading zeroes v9.1.0368
RestorerZ [Tue, 23 Apr 2024 18:33:38 +0000 (20:33 +0200)] 
patch 9.1.0368: MS-Windows: Hard to define the Vim Patchlevel with leading zeroes

Problem:  MS-Windows: Hard to define the Vim Patchlevel with leading
          zeroes for the installer
Solution: re-define VIM_VERSION_PATCHLEVEL_STR with leading zeroes,
          interpret Patchlevel as decimal in Make_mvc.mak
          (RestorerZ)

closes: #14471

Signed-off-by: RestorerZ <restorer@mail2k.ru>
Signed-off-by: Christian Brabandt <cb@256bit.org>
8 days agopatch 9.1.0367: compile_def_function is too long v9.1.0367
Yegappan Lakshmanan [Tue, 23 Apr 2024 18:14:46 +0000 (20:14 +0200)] 
patch 9.1.0367: compile_def_function is too long

Problem:  compile_def_function is too long
Solution: Move out the code to compile the body of a function
          (Yegappan Lakshmanan)

closes: #14622

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
9 days agopatch 9.1.0366: filetype: ondir files are not recognized v9.1.0366
Jon Parise [Mon, 22 Apr 2024 19:07:41 +0000 (21:07 +0200)] 
patch 9.1.0366: filetype: ondir files are not recognized

Problem:  filetype: ondir files are not recognized
Solution: Detect '.ondirrc' as ondir filetype
          (Jon Parise)

closes: #14604

Signed-off-by: Jon Parise <jon@indelible.org>
Signed-off-by: Christian Brabandt <cb@256bit.org>
9 days agopatch 9.1.0365: Crash when typing many keys with D- modifier v9.1.0365
zeertzjq [Mon, 22 Apr 2024 19:04:29 +0000 (21:04 +0200)] 
patch 9.1.0365: Crash when typing many keys with D- modifier

Problem:  Crash when typing many keys with D- modifier (after 9.1.0227).
Solution: Don't treat a 0x80 byte inside a special sequence as the start
          of a special sequence (zeertzjq).

closes: #14613

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
9 days agopatch 9.1.0364: tests: test_vim9_builtin is a bit slow v9.1.0364
Yegappan Lakshmanan [Mon, 22 Apr 2024 18:58:24 +0000 (20:58 +0200)] 
patch 9.1.0364: tests: test_vim9_builtin is a bit slow

Problem:  tests: test_vim9_builtin is a bit slow
Solution: source tests from a buffer instead of
          writing and sourcing a file (Yegappan Lakshmanan)

closes: #14614

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
9 days agoruntime(doc): update documentation
RestorerZ [Mon, 22 Apr 2024 18:55:32 +0000 (20:55 +0200)] 
runtime(doc): update documentation

closes: #14616

Signed-off-by: RestorerZ <restorer@mail2k.ru>
Signed-off-by: Christian Brabandt <cb@256bit.org>
9 days agoCI: change the download URL of "libsodium" (#14618)
Restorer [Mon, 22 Apr 2024 18:48:43 +0000 (18:48 +0000)] 
CI: change the download URL of "libsodium" (#14618)

Signed-off-by: RestorerZ <restorer@mail2k.ru>
Signed-off-by: Christian Brabandt <cb@256bit.org>
10 days agopatch 9.1.0363: tests: test_winfixbuf is a bit slow v9.1.0363
Yegappan Lakshmanan [Sun, 21 Apr 2024 17:50:21 +0000 (19:50 +0200)] 
patch 9.1.0363: tests: test_winfixbuf is a bit slow

Problem:  tests: test_winfixbuf is a bit slow
Solution: use defer if possible, reset hidden option, use --not-a-term
          when starting Vim using system() (Yegappan Lakshmanan)

closes: #14611

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
10 days agoruntime(astro): Add filetype, syntax and indent plugin
Philip H [Sun, 21 Apr 2024 13:44:10 +0000 (15:44 +0200)] 
runtime(astro): Add filetype, syntax and indent plugin

related: #14558
closes: #14561

ported from: https://github.com/wuelnerdotexe/vim-astro

Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
10 days agopatch 9.1.0362: expanding rc config files does not work well v9.1.0362
Christian Brabandt [Sun, 21 Apr 2024 12:52:20 +0000 (14:52 +0200)] 
patch 9.1.0362: expanding rc config files does not work well

Problem:  expanding rc config files does not work well
          (Michał Sieroń, after v9.1.0327)
Solution: initialize chartab option, required to expand
          evironment variables

fixes: #14597

Co-authored-by: author
Signed-off-by: author
Signed-off-by: Christian Brabandt <cb@256bit.org>
10 days agopatch 9.1.0361: Vim9: vim9type.c is too complicated v9.1.0361
Yegappan Lakshmanan [Sun, 21 Apr 2024 12:48:57 +0000 (14:48 +0200)] 
patch 9.1.0361: Vim9: vim9type.c is too complicated

Problem:  Vim9: vim9type.c is too complicated
Solution: Refactor a few functions in vim9type.c
          (Yegappan Lakshmanan)

closes: #14605

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
10 days agopatch 9.1.0360: Vim9: does not handle autoloaded variables well v9.1.0360
Ernie Rael [Sun, 21 Apr 2024 12:45:48 +0000 (14:45 +0200)] 
patch 9.1.0360: Vim9: does not handle autoloaded variables well

Problem:  Vim9: does not handle autoloaded variables well
Solution: Better handle script-level exported variable references from
          autoload files (Ernie Rael).

fixes: #14591
closes: #14607

Signed-off-by: Ernie Rael <errael@raelity.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
10 days agoruntime(doc): minor spell fix in starting.txt
Diego Viola [Sun, 21 Apr 2024 12:39:49 +0000 (14:39 +0200)] 
runtime(doc): minor spell fix in starting.txt

closes: #14608

Signed-off-by: Diego Viola <diego.viola@gmail.com>
11 days agopatch 9.1.0359: MS-Windows: relative import in a script sourced from a buffer doesn... v9.1.0359
Yegappan Lakshmanan [Sat, 20 Apr 2024 16:31:21 +0000 (18:31 +0200)] 
patch 9.1.0359: MS-Windows: relative import in a script sourced from a buffer doesn't work

Problem:  MS-Windows: Relative import in a script sourced from a buffer
          doesn't work (Ernie Rael)
Solution: Set a filename, so that we are not trying to use
          script-relative filename (Yegappan Lakshmanan)

When a script is sourced from a buffer, the file name is set to ":source
buffer=". In MS-Windows, the ":" is a path separator character (used
after a drive letter). This results in the code trying to use the ":"
prefix to import the script on MS-Windows. To fix this, when importing a
script from a script sourced from a buffer with nofile, don't use
a script relative path name.

fixes #14588
closes: #14603

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
11 days agopatch 9.1.0358: wrong drawing in GUI with setcellwidth() v9.1.0358
h-east [Sat, 20 Apr 2024 15:57:19 +0000 (17:57 +0200)] 
patch 9.1.0358: wrong drawing in GUI with setcellwidth()

Problem:  wrong drawing in GUI with setcellwidth()
          (after v9.1.0344)
Solution: move gui.in_use condition (h-east)

closes: #14600

Signed-off-by: h-east <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
11 days agoftplugin(cmake): Add include and suffixesadd
Wu, Zhenyu [Sat, 20 Apr 2024 15:53:08 +0000 (17:53 +0200)] 
ftplugin(cmake): Add include and suffixesadd

closes: #14520

Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
Signed-off-by: Christian Brabandt <cb@256bit.org>
11 days agopatch 9.1.0357: Page scrolling should place cursor at window boundaries v9.1.0357
Luuk van Baal [Sat, 20 Apr 2024 15:38:20 +0000 (17:38 +0200)] 
patch 9.1.0357: Page scrolling should place cursor at window boundaries

Problem:  Page scrolling does not always place the cursor at the top or
          bottom of the window (Mathias Rav)
Solution: Place the cursor at the top or bottom of the window.
          (Luuk van Baal)

fixes: #14585
closes: #14586

Signed-off-by: Luuk van Baal <luukvbaal@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
11 days agoruntime(doc): align command line table
Christian Brabandt [Sat, 20 Apr 2024 15:12:59 +0000 (17:12 +0200)] 
runtime(doc): align command line table

Signed-off-by: Christian Brabandt <cb@256bit.org>
12 days agoruntime(doc): minor fixes to starting.txt
Diego Viola [Fri, 19 Apr 2024 13:51:44 +0000 (15:51 +0200)] 
runtime(doc): minor fixes to starting.txt

closes: #14593

Signed-off-by: Diego Viola <diego.viola@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
12 days agopatch 9.1.0356: MS-Windows: --remote may change working directory v9.1.0356
Christian Brabandt [Fri, 19 Apr 2024 13:22:33 +0000 (15:22 +0200)] 
patch 9.1.0356: MS-Windows: --remote may change working directory

Problem:  MS-Windows: --remote may change working directory when
          'shellslash' is set
Solution: normalize directory separators on MS-Windows

fixes: #14549
closes: #14587

Signed-off-by: Christian Brabandt <cb@256bit.org>
12 days agoruntime(bp): fix comment definition in filetype plugin (#14594)
Bruno BELANYI [Fri, 19 Apr 2024 13:19:31 +0000 (14:19 +0100)] 
runtime(bp): fix comment definition in filetype plugin (#14594)

I somehow messed up the previous patch, I think a copy-paste error when
creating the file.

Blueprint files have C and C++ style comments, not shell-like '#'
comments.

Signed-off-by: Bruno BELANYI <bruno@belanyi.fr>
Signed-off-by: Christian Brabandt <cb@256bit.org>
12 days agopatch 9.1.0355: filetype: flake.lock files are not recognized v9.1.0355
Riley Bruins [Fri, 19 Apr 2024 13:13:38 +0000 (15:13 +0200)] 
patch 9.1.0355: filetype: flake.lock files are not recognized

Problem:  filetype: flake.lock files are not recognized
Solution: Detect 'flake.lock' as json filetype
          (Riley Bruins)

closes: #14589

Signed-off-by: Riley Bruins <ribru17@hotmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
13 days agopatch 9.1.0354: runtime(uci): No support for uci file types v9.1.0354
Colin Caine [Thu, 18 Apr 2024 21:53:02 +0000 (23:53 +0200)] 
patch 9.1.0354: runtime(uci): No support for uci file types

Problem:  runtime(uci): No support for uci file types
          (Wu, Zhenyu)
Solution: include basic uci ftplugin and syntax plugins
          (Colin Caine)

closes: #14575

Co-authored-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
Signed-off-by: Colin Caine <complaints@cmcaine.co.uk>
Signed-off-by: Christian Brabandt <cb@256bit.org>
13 days agoruntime(java): Support "g:ftplugin_java_source_path" with archived files
Aliaksei Budavei [Thu, 18 Apr 2024 21:01:52 +0000 (23:01 +0200)] 
runtime(java): Support "g:ftplugin_java_source_path" with archived files

Also, document for "g:ftplugin_java_source_path" its current
modification of the local value of the 'path' option.

closes: #14570

Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
13 days agopatch 9.1.0353: tests: Test_autoload_import_relative_compiled fails on Windows v9.1.0353
Ernie Rael [Thu, 18 Apr 2024 20:53:33 +0000 (22:53 +0200)] 
patch 9.1.0353: tests: Test_autoload_import_relative_compiled fails on Windows

Problem:  tests: Test_autoload_import_relative_compiled fails on Windows
Solution: Disable on Windows for now, add missing :bw for clean-up (Ernie Rael)

closes: #14579

Signed-off-by: Ernie Rael <errael@raelity.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
13 days agopatch 9.1.0352: Finding cmd modifiers and cmdline-specials is inefficient v9.1.0352
John Marriott [Thu, 18 Apr 2024 20:46:56 +0000 (22:46 +0200)] 
patch 9.1.0352: Finding cmd modifiers and cmdline-specials is inefficient

Problem:  Finding cmd modifiers and cmdline-specials is inefficient
Solution: Use binary search to find ex command modifiers and
          cmdline-special characters and reduce the number of strlen()
          (John Marriott)

closes: #14534

Signed-off-by: John Marriott <basilisk@internode.on.net>
Signed-off-by: Christian Brabandt <cb@256bit.org>
13 days agopatch 9.1.0351: No test that completing a partial mapping clears 'showcmd' v9.1.0351
zeertzjq [Thu, 18 Apr 2024 20:09:37 +0000 (22:09 +0200)] 
patch 9.1.0351: No test that completing a partial mapping clears 'showcmd'

Problem:  No test that completing a partial mapping clears 'showcmd'.
Solution: Complete partial mappings in Test_showcmd_part_map() instead
          of using :echo.  Adjust some comments (zeertzjq).

closes: #14580

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
13 days agopatch 9.1.0350: tests: test_vim9_dissamble may fail v9.1.0350
Julio B [Thu, 18 Apr 2024 20:05:12 +0000 (22:05 +0200)] 
patch 9.1.0350: tests: test_vim9_dissamble may fail

Problem:  tests: test_vim9_dissamble may fail
Solution: Instead of hard-coding the lambda number, accept
          just any number (Julio B)

closes: #14581

Signed-off-by: Julio B <julio.bacel@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
13 days agopatch 9.1.0349: Vim9: need static type for typealias v9.1.0349
Yegappan Lakshmanan [Thu, 18 Apr 2024 19:33:27 +0000 (21:33 +0200)] 
patch 9.1.0349: Vim9: need static type for typealias

Problem:  Vim9: need static type for typealias
Solution: Refactor the typval2type() function and add a static type for
          typealias (Yegappan Lakshmanan)

closes: #14582

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
13 days agopatch 9.1.0348: X11 does not ignore smooth scroll event v9.1.0348
lilydjwg [Thu, 18 Apr 2024 19:22:57 +0000 (21:22 +0200)] 
patch 9.1.0348: X11 does not ignore smooth scroll event

Problem:  X11 does not ignore smooth scroll event
          (laniakea64)
Solution: Correctly ignore unwanted smooth scroll events on X11
          (lilydjwg)

fixes #14578
closes: #14583

Signed-off-by: lilydjwg <lilydjwg@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
13 days agopatch 9.1.0347: A few typos in test_xdg when testing gvimrc v9.1.0347
Diego Viola [Thu, 18 Apr 2024 18:54:06 +0000 (20:54 +0200)] 
patch 9.1.0347: A few typos in test_xdg when testing gvimrc

Problem:  A few typos in test_xdg when testing gvimrc
Solution: Fix them (Diego Viola)

closes: #14584

Signed-off-by: Diego Viola <diego.viola@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.0346: Patch v9.1.0338 fixed sourcing a script with import v9.1.0346
Ernie Rael [Wed, 17 Apr 2024 20:36:32 +0000 (22:36 +0200)] 
patch 9.1.0346: Patch v9.1.0338 fixed sourcing a script with import

Problem:  Patch v9.1.0338 fixed sourcing a script with import
Solution: Add test `import './file.vim' and verify it works with `:source`
          so it does not regress (Ernie Rael)

closes: #14577

Signed-off-by: Ernie Rael <errael@raelity.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.0345: Problem: gvimrc not sourced from XDG_CONFIG_HOME v9.1.0345
Maxim Kim [Wed, 17 Apr 2024 20:29:06 +0000 (22:29 +0200)] 
patch 9.1.0345: Problem: gvimrc not sourced from XDG_CONFIG_HOME

Problem:  gvimrc not sourced from XDG_CONFIG_HOME (after v9.1.0327)
Solution: Also try to source from ~/.config/vim/gvimrc and
          $XDG_CONFIG_HOME/vim/gvimrc (Maxim Kim)

fixes: #14567
closes: #14568

Signed-off-by: Maxim Kim <habamax@haba-debian.habamax>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.0344: Cursor wrong after using setcellwidth() in terminal v9.1.0344
mikoto2000 [Wed, 17 Apr 2024 20:06:54 +0000 (22:06 +0200)] 
patch 9.1.0344: Cursor wrong after using setcellwidth() in terminal

Problem:  Cursor wrong after using setcellwidth() in terminal
          (mikoto2000)
Solution: output additional spaces, so the behaviour matches the GUI
          (mikoto2000)

fixes: #14539
closes: #14540

Signed-off-by: mikoto2000 <mikoto2000@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Fix CUI `setcellwidths` characters draw behavior to same GUI behavior.

2 weeks agopatch 9.1.0343: 'showcmd' wrong for partial mapping with multibyte v9.1.0343
zeertzjq [Wed, 17 Apr 2024 19:28:54 +0000 (21:28 +0200)] 
patch 9.1.0343: 'showcmd' wrong for partial mapping with multibyte

Problem:  'showcmd' is wrong for partial mapping with multibyte char,
          and isn't very readable with modifyOtherKeys.
Solution: Decode multibyte char and merge modifiers into the char.
          (zeertzjq)

This improves the following situations:
- Multibyte chars whose individual bytes are considered unprintable are
  now shown properly in 'showcmd' area.
- Ctrl-W with modifyOtherKeys now shows ^W in 'showcmd' area.

The following situation may still need improvement:
- If the char is a special key or has modifiers that cannot be merged
  into it, internal keycodes are shown in 'showcmd' area like before.
  This applies to keys typed in Normal mode commands as well, and it's
  hard to decide how to make it more readable due to the limited space
  taken by 'showcmd', so I'll leave it for later.

closes: #14572

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.0342: tests: test_taglist fails when 'helplang' contains non-english v9.1.0342
Julio B [Tue, 16 Apr 2024 20:55:04 +0000 (22:55 +0200)] 
patch 9.1.0342: tests: test_taglist fails when 'helplang' contains non-english

Problem:  tests: test_taglist fails when 'helplang' contains non-english
Solution: Allow 1 or 2 tagfiles for now (Julio B)

related: #14312
closes: #14566

Signed-off-by: Julio B <julio.bacel@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.0341: Problem: a few memory leaks are found v9.1.0341
Christian Brabandt [Tue, 16 Apr 2024 20:44:31 +0000 (22:44 +0200)] 
patch 9.1.0341: Problem: a few memory leaks are found

Problem:  a few memory leaks are found
          (LuMingYinDetect )
Solution: properly free the memory

Fixes the following problems:
- Memory leak in f_maplist()
  fixes: #14486

- Memory leak in option.c
  fixes: #14485

- Memory leak in f_resolve()
  fixes: #14484

- Memory leak in f_autocmd_get()
  related: #14474

- Memory leak in dict_extend_func()
  fixes: #14477
  fixes: #14238

closes: #14517

Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.0340: Problem: Error with matchaddpos() and empty list v9.1.0340
Christian Brabandt [Tue, 16 Apr 2024 20:23:17 +0000 (22:23 +0200)] 
patch 9.1.0340: Problem: Error with matchaddpos() and empty list

Problem:  Error with matchaddpos() and empty list
          (@rickhow)
Solution: Return early for an empty list

fixes: #14525
closes: #14563

Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.0339: tests: xdg test uses screen dumps v9.1.0339
Yegappan Lakshmanan [Tue, 16 Apr 2024 20:18:15 +0000 (22:18 +0200)] 
patch 9.1.0339: tests: xdg test uses screen dumps

Problem:  tests: xdg test uses screen dumps
Solution: Convert screen dump to normal test
          (Yegappan Lakshmanan)

closes: #14564

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.0338: Vim9: import through symlinks not correctly handled v9.1.0338
Ernie Rael [Tue, 16 Apr 2024 20:11:56 +0000 (22:11 +0200)] 
patch 9.1.0338: Vim9: import through symlinks not correctly handled

Problem:  Vim9: import through symlinks not correctly handled
Solution: Check for script being a symlink but only once
          (Ernie Rael)

closes: #14565

Signed-off-by: Ernie Rael <errael@raelity.com>
Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.0337: Missing entry for XDG vimrc file in :version v9.1.0337
Diego Viola [Tue, 16 Apr 2024 18:58:45 +0000 (20:58 +0200)] 
patch 9.1.0337: Missing entry for XDG vimrc file in :version

Problem:  Missing entry for XDG vimrc file in :version
Solution: Add 4th user vimrc entry to :version output
          (Diego Viola)

related: #14182
closes: #14569

Signed-off-by: Diego Viola <diego.viola@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.0336: tests: typo in test_xdg v9.1.0336
Diego Viola [Mon, 15 Apr 2024 18:08:38 +0000 (20:08 +0200)] 
patch 9.1.0336: tests: typo in test_xdg

Problem:  tests: typo in test_xdg
Solution: fix typo (Diego Viola)

closes: #14562

Signed-off-by: Diego Viola <diego.viola@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agoruntime(i3config/swayconfig): update syntax scripts
Josef Litoš [Mon, 15 Apr 2024 17:38:04 +0000 (19:38 +0200)] 
runtime(i3config/swayconfig): update syntax scripts

modifications with the goals of:
- simplifying structure by using group `cluster`s
- improving visual highlighting responsiveness by using `nextgroup`
- improving recursive wm-msg command highlighting
- separating command variants meant for runtime and for config only

closes: #14544

Signed-off-by: Josef Litoš <54900518+JosefLitos@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agoruntime(doc): document pandoc compiler and enable configuring arguments
Konfekt [Mon, 15 Apr 2024 17:33:08 +0000 (19:33 +0200)] 
runtime(doc): document pandoc compiler and enable configuring arguments

closes: #14550

Signed-off-by: Konfekt <Konfekt@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.0335: String interpolation fails for List type v9.1.0335
Yegappan Lakshmanan [Mon, 15 Apr 2024 17:19:52 +0000 (19:19 +0200)] 
patch 9.1.0335: String interpolation fails for List type

Problem:  String interpolation fails for List type
Solution: use implicit string(list) for string interpolation and :put =
          (Yegappan Lakshmanan)

related: #14529
closes: #14556

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.0334: No test for highlight behavior with 'ambiwidth' v9.1.0334
zeertzjq [Mon, 15 Apr 2024 17:14:38 +0000 (19:14 +0200)] 
patch 9.1.0334: No test for highlight behavior with 'ambiwidth'

Problem:  No test for highlight behavior with 'ambiwidth'.
Solution: Add a screendump test for 'ambiwidth' with 'cursorline'.
          (zeertzjq)

closes: #14554

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.0333: tests: test_xdg fails on the appimage repo v9.1.0333
Christian Brabandt [Mon, 15 Apr 2024 17:11:15 +0000 (19:11 +0200)] 
patch 9.1.0333: tests: test_xdg fails on the appimage repo

Problem:  tests: test_xdg fails on the appimage repo
Solution: compare only the last 30 right characters of $MYVIMRC

Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.0332: tests: some assert_equal() calls have wrong order of args v9.1.0332
zeertzjq [Mon, 15 Apr 2024 17:01:04 +0000 (19:01 +0200)] 
patch 9.1.0332: tests: some assert_equal() calls have wrong order of args

Problem:  tests: some assert_equal() calls have wrong order of args
Solution: Correct the order (zeertzjq).

closes: #14555

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.0331: make install does not install all files v9.1.0331
Matt Hammerly [Mon, 15 Apr 2024 16:54:38 +0000 (18:54 +0200)] 
patch 9.1.0331: make install does not install all files

Problem:  make install does not install all files (Nick Jensen)
Solution: Adjust the Makefile rule to install and uninstall cargo and
          rust directories (Matt Hammerly)

fixes: #14551
closes: #14552
closes: #14557

Signed-off-by: Matt Hammerly <hammerly.matt@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agoruntime(doc): fix typos in starting.txt
Diego Viola [Mon, 15 Apr 2024 16:51:29 +0000 (18:51 +0200)] 
runtime(doc): fix typos in starting.txt

closes: #14559

Signed-off-by: Diego Viola <diego.viola@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.0330: v9.1.0327 contains an unrelated change v9.1.0330
Christian Brabandt [Sun, 14 Apr 2024 21:45:02 +0000 (23:45 +0200)] 
patch 9.1.0330: v9.1.0327 contains an unrelated change

Problem:  v9.1.0327 contains an unrelated change
Solution: Revert back $USR_VIMRC_FILE to $HOME instead of ~

Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.0329: String interpolation fails for Dict type v9.1.0329
Yegappan Lakshmanan [Sun, 14 Apr 2024 21:21:02 +0000 (23:21 +0200)] 
patch 9.1.0329: String interpolation fails for Dict type

Problem:  String interpolation fails for Dict type
Solution: Support Dict data type properly, also support :put =Dict
          (without having to convert it to string() first)
          (Yegappan Lakshmanan)

fixes: #14529
closes: #14541

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.0328: CI fails with t_?? test v9.1.0328
Christian Brabandt [Sun, 14 Apr 2024 21:14:50 +0000 (23:14 +0200)] 
patch 9.1.0328: CI fails with t_?? test

Problem:  CI fails with t_?? test
Solution: use assert_match instead of assert_equal
          and test only until t_xo, depending on system
          there may be several more termcap codes coming

Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.0327: No support for using $XDG_CONFIG_HOME v9.1.0327
Luca Saccarola [Sun, 14 Apr 2024 20:53:22 +0000 (22:53 +0200)] 
patch 9.1.0327: No support for using $XDG_CONFIG_HOME

Problem:  No support for using $XDG_CONFIG_HOME
Solution: optionally source $XDG_CONFIG_HOME/vim/vimrc
          (Luca Saccarola)

fixes: #2034
closes: #14182

Signed-off-by: Luca Saccarola <github.e41mv@aleeas.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.0326: filetype: some requirements files are not recognized v9.1.0326
Wu, Zhenyu [Sun, 14 Apr 2024 18:38:24 +0000 (20:38 +0200)] 
patch 9.1.0326: filetype: some requirements files are not recognized

Problem:  filetype: some requirements files are not recognized
Solution: Detect '*-requirements.txt', 'constraints.txt',
          'requirements.in', 'requirements/*.txt' and 'requires/*.txt'
          as requirements filetype, include pip compiler, include
          requirements filetype and syntax plugin
          (Wu, Zhenyu, @raimon49)

closes: #14379

Co-authored-by: raimon <raimon49@hotmail.com>
Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.0325: filetype: CMakeCache.txt files not recognized v9.1.0325
Wu, Zhenyu [Sun, 14 Apr 2024 18:34:22 +0000 (20:34 +0200)] 
patch 9.1.0325: filetype: CMakeCache.txt files not recognized

Problem:  filetype: CMakeCache.txt files not recognized
Solution: Detect 'CMakeCache.txt' files as cmakecache filetype,
          include basic syntax script for cmakecache
          (Wu, Zhenyu, @bfrg)

closes: #14384

Co-authored-by: bfrg <bfrg@users.noreply.github.com>
Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agoruntime(vim): Update base-syntax, fix nested function folding (#14397)
dkearns [Sun, 14 Apr 2024 18:32:56 +0000 (04:32 +1000)] 
runtime(vim): Update base-syntax, fix nested function folding (#14397)

Only match function folding start and end patterns at the start of a
line, excluding heredocs and :append/:change/:insert commands.

Fixes #14393

Signed-off-by: Christian Brabandt <cb@256bit.org>
Signed-off-by: Doug Kearns <dougkearns@gmail.com>
2 weeks agopatch 9.1.0324: filetype: some json files are not recognized v9.1.0324
Wu, Zhenyu [Sun, 14 Apr 2024 18:29:43 +0000 (20:29 +0200)] 
patch 9.1.0324: filetype: some json files are not recognized

Problem:  filetype: some json files are not recognized
Solution: Detect '.jscsrc' and '.vsconfig' as jsonc filetype
          (Wu, Zhenyu)

See:
- https://github.com/microsoft/PowerToys/blob/main/.vsconfig
- https://jscs-dev.github.io/

closes: #14452

Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agocompiler(rime_deployer): include new compiler, use it for '*.custom.yaml' files ...
wzy [Sun, 14 Apr 2024 18:28:29 +0000 (02:28 +0800)] 
compiler(rime_deployer): include new compiler, use it for '*.custom.yaml' files (#14460)

Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.0323: filetype: cabal config files may not be recognized v9.1.0323
Wu, Zhenyu [Sun, 14 Apr 2024 18:22:19 +0000 (20:22 +0200)] 
patch 9.1.0323: filetype: cabal config files may not be recognized

Problem:  filetype: cabal config files may not be recognized
Solution: Change filetype pattern to '*/{,.}cabal/config'
          (Wu Zhenyu)

closes: #14498

Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
Signed-off-by: Christian Brabandt <cb@256bit.org>