]> git.ipfire.org Git - thirdparty/vim.git/log
thirdparty/vim.git
19 months agopatch 9.1.0004: reloading colorscheme when not changing 'background' v9.1.0004
Gregory Anders [Wed, 3 Jan 2024 18:48:51 +0000 (19:48 +0100)] 
patch 9.1.0004: reloading colorscheme when not changing 'background'

Problem:  reloading colorscheme when not changing 'background'
Solution: Check, if the background option value actually changed,
          if not, return early.

Only reload colorscheme when bg is changed

Currently the highlight groups are re-initialized and the colorscheme
(if any) is reloaded anytime 'background' is set, even if it is not
changed. This is unnecessary, because if the value was not changed then
there is no need to change highlight groups or do anything with the
colorscheme. Instead, only reload the colorscheme if the value of
'background' was actually changed.

closes: #13700

Signed-off-by: Gregory Anders <greg@gpanders.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agopatch 9.1.0003: Cannot build against Ruby 33 dynamically v9.1.0003
Isao Sato [Wed, 3 Jan 2024 18:31:05 +0000 (19:31 +0100)] 
patch 9.1.0003: Cannot build against Ruby 33 dynamically

Problem:  Cannot build against Ruby 33 dynamically
Solution: Ruby 33 removed transient heap, so do not use
          rb_ary_transient anymore, NoMethodError format changed,
          so update test for expected error message
          (Isao Sato)

- ruby-3.3 removed transient heap for ruby/dyn

when +ruby/dyn with ruby-3.3 do command :ruby, E448 occur.
ruby-3.3 has no transient heap anymore, so disable rb_ary_transient etc.

$ LC_ALL=C VIMRUNTIME=runtime ./src/vim -u NONE -c 'ruby puts RUBY_VERSION'
"=> Error detected while processing command line:
"=> E448: Could not load library function rb_ary_detransient
"=> E266: Sorry, this command is disabled, the Ruby library could not be
    loaded.

- ruby-3.3 changed NoMethodError format:

$ rvm 3.2.2, 3.3.0-rc1 do ruby -e 'begin; nil.name; rescue => e; puts "%s : %s"%[RUBY_VERSION, e.message]; end '
=> 3.2.2 : undefined method `name' for nil:NilClass
=> 3.3.0 : undefined method `name' for nil

so loose pattern in Test_ruby_Vim_buffer_get()

closes: #13741

Signed-off-by: Isao Sato <svardew@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agopatch 9.1.0002: a closing fold expr, may start a new fold v9.1.0002
Shota Nozaki [Wed, 3 Jan 2024 18:18:43 +0000 (19:18 +0100)] 
patch 9.1.0002: a closing fold expr, may start a new fold

Problem:  a closing fold expression may unexpectedly start a new fold
          when it should end a fold
          (reported by Shota Nozaki)
Solution: if a fold hasn't started yet, do not immediately
          start a new fold with level 1
          (Shota Nozaki)

fixes: #12768
closes: #13748

Signed-off-by: Shota Nozaki <emonkak@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agopatch 9.1.0001: when closing window, wincmd p may fail v9.1.0001
Sean Dewar [Wed, 3 Jan 2024 17:52:52 +0000 (18:52 +0100)] 
patch 9.1.0001: when closing window, wincmd p may fail

Avoid `prevwin == curwin` when closing `curwin`

Problem:  When closing the current window (or when moving it to a tabpage), the
          previous window may refer to the new current window
          (`winnr() == winnr('#')`) if that window is selected as the
          new current window.

Solution: Set `prevwin = NULL` when switching away from an invalid `curwin` and
          the target window was the `prevwin`.
          (Sean Dewar)

related: #4537
closes: #13762

Signed-off-by: Sean Dewar <seandewar@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(vim): add jumpoptions to syntax file (#13808)
Hugo van de Vliert [Wed, 3 Jan 2024 17:03:29 +0000 (18:03 +0100)] 
runtime(vim): add jumpoptions to syntax file (#13808)

* Add jumpoptions and jop to vim syntax file
* Clean up some whitespace

Signed-off-by: Hugo van de Vliert <hugo.vandevliert@floryn.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(doc): document that the diff filetype uses Diff hl groups
Christian Brabandt [Wed, 3 Jan 2024 16:59:38 +0000 (17:59 +0100)] 
runtime(doc): document that the diff filetype uses Diff hl groups

related: #13776

Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(vim): Add support for <ScriptCmd> syntax (#10686)
dezza [Wed, 3 Jan 2024 15:20:22 +0000 (16:20 +0100)] 
runtime(vim): Add support for <ScriptCmd> syntax (#10686)

Adding `<ScriptCmd>` to list of angle-bracket notation syntax, just like `<Cmd>`

`<Cmd>` is already highlighted.
```vim
nnoremap <leader>o <Cmd>Oldfiles()<CR>
```

`<ScriptCmd>` is not.

Signed-off-by: dezza <402927+dezza@users.noreply.github.com>
Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(vim): Add support for `syntax foldlevel` command (#6182)
Brad King [Wed, 3 Jan 2024 15:17:24 +0000 (10:17 -0500)] 
runtime(vim): Add support for `syntax foldlevel` command (#6182)

Signed-off-by: Brad King <brad.king@kitware.com>
Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agopatch 9.1.0000: Vim 9.1 release v9.1.0 v9.1.0000
Christian Brabandt [Tue, 2 Jan 2024 15:51:11 +0000 (16:51 +0100)] 
patch 9.1.0000: Vim 9.1 release

Problem:  Need a new release
Solution: Release Vim 9.1

Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(doc): add missing help tags
Christian Brabandt [Mon, 1 Jan 2024 19:50:51 +0000 (20:50 +0100)] 
runtime(doc): add missing help tags

Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(menu): regenerate synmenu
Christian Brabandt [Mon, 1 Jan 2024 19:27:46 +0000 (20:27 +0100)] 
runtime(menu): regenerate synmenu

Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agopatch 9.0.2190: proto files need update v9.0.2190
Christian Brabandt [Mon, 1 Jan 2024 19:18:36 +0000 (20:18 +0100)] 
patch 9.0.2190: proto files need update

Problem:  proto files need update
Solution: re-generate them

Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(dist/ft): improve filetype detection for *.v (V/Verilog/Coq)
Christian Brabandt [Mon, 1 Jan 2024 18:19:20 +0000 (19:19 +0100)] 
runtime(dist/ft): improve filetype detection for *.v (V/Verilog/Coq)

Patch provided by Dan Alt

closes: #13793

Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(sh): Update sh syntax and add local keyword for bash (#13806)
Lucien Grondin [Mon, 1 Jan 2024 18:00:41 +0000 (19:00 +0100)] 
runtime(sh): Update sh syntax and add local keyword for bash (#13806)

add `local` in shStatement

Signed-off-by: Lucien Grondin <grondilu@yahoo.fr>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(ruby): Update ftplugin and omni-complete (#13805)
dkearns [Mon, 1 Jan 2024 17:58:57 +0000 (04:58 +1100)] 
runtime(ruby): Update ftplugin and omni-complete (#13805)

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(doc): Update Version9.txt for release 9.1 (#13804)
Christian Brabandt [Mon, 1 Jan 2024 17:56:52 +0000 (18:56 +0100)] 
runtime(doc): Update Version9.txt for release 9.1 (#13804)

Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(doc): Add help tags to items in version9.txt (#13801)
Yegappan Lakshmanan [Sat, 30 Dec 2023 09:40:25 +0000 (01:40 -0800)] 
runtime(doc): Add help tags to items in version9.txt (#13801)

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agotranslation(de): Updated German translation (#13796)
Christian Brabandt [Fri, 29 Dec 2023 15:34:04 +0000 (16:34 +0100)] 
translation(de): Updated German translation (#13796)

Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agotranslation(tr): Improve Turkish documentation (#13800)
Emir SARI [Fri, 29 Dec 2023 15:30:40 +0000 (15:30 +0000)] 
translation(tr): Improve Turkish documentation (#13800)

Signed-off-by: Emir SARI <emir_sari@icloud.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(fortran): update syntax and documentation (#13784)
Ajit-Thakkar [Fri, 29 Dec 2023 15:29:43 +0000 (11:29 -0400)] 
runtime(fortran): update syntax and documentation (#13784)

* Update Fortran section of indent.txt
* Small addition to fortran syntax

Signed-off-by: Ajit-Thakkar <142174202+Ajit-Thakkar@users.noreply.github.com>
Signed-off-by: Eisuke Kawashima <e-kwsm@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
* Update Fortran section of syntax.txt

* Runtime (Fortran)

Fix regression

* Combine two expressions

19 months agopatch 9.0.2189: Wrong display with 'briopt=sbr' and 'nobreakindent' v9.0.2189
zeertzjq [Thu, 28 Dec 2023 22:19:52 +0000 (23:19 +0100)] 
patch 9.0.2189: Wrong display with 'briopt=sbr' and 'nobreakindent'

Problem:  Wrong display when 'breakindentopt' contains "sbr" and
          'showbreak' and 'nobreakindent' are set.
Solution: Always reset wlv->need_showbreak regardless of the values of
          'breakindent' and 'showbreak', as they aren't checked when
          setting wlv->need_showbreak (zeertzjq)

closes: #13785

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(cucumber): Updates to indent and syntax
Tim Pope [Thu, 28 Dec 2023 18:03:39 +0000 (13:03 -0500)] 
runtime(cucumber): Updates to indent and syntax

19 months agoruntime(markdown): Fix folding of code blocks
Tim Pope [Thu, 28 Dec 2023 17:50:18 +0000 (12:50 -0500)] 
runtime(markdown): Fix folding of code blocks

19 months agoruntime(sass): Provide sass_recommended_style option
Tim Pope [Thu, 28 Dec 2023 17:49:07 +0000 (12:49 -0500)] 
runtime(sass): Provide sass_recommended_style option

19 months agoruntime(gitcommit): Updates to ftplugin and syntax
Tim Pope [Thu, 28 Dec 2023 17:48:27 +0000 (12:48 -0500)] 
runtime(gitcommit): Updates to ftplugin and syntax

19 months agoruntime(git): Make diffs foldable
Tim Pope [Thu, 28 Dec 2023 17:47:31 +0000 (12:47 -0500)] 
runtime(git): Make diffs foldable

19 months agoruntime(git): Add small ftplugin
Tim Pope [Thu, 28 Dec 2023 17:46:39 +0000 (12:46 -0500)] 
runtime(git): Add small ftplugin

19 months agotranslation(hu): add Hungarian translation (#13782)
Zoltan Arpadffy [Thu, 28 Dec 2023 22:15:19 +0000 (23:15 +0100)] 
translation(hu): add Hungarian translation (#13782)

* add Hungarian translation
* Add hu.po to the Make_all file

Signed-off-by: Zoltan Arpadffy <zoltan.arpadffy@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agotranslation(ru): Updated Russian translation (#13788)
Restorer [Thu, 28 Dec 2023 22:13:10 +0000 (01:13 +0300)] 
translation(ru): Updated Russian translation (#13788)

Signed-off-by: RestorerZ <restorer@mail2k.ru>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(Filelist): remove coveralls, move runtime/lang/Make_mvc.mak (#13790)
Restorer [Thu, 28 Dec 2023 22:11:48 +0000 (01:11 +0300)] 
runtime(Filelist): remove coveralls, move runtime/lang/Make_mvc.mak (#13790)

- File coveralls.yml removed from $(SRC_ALL),  in patch 9.0.1752 (#12851)
- runtime/lang/Make_mvc.mak moved from $(LANG_DOS) to $(RT_DOS)

Signed-off-by: RestorerZ <restorer@mail2k.ru>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agoruntime(doc): correct the :public example (#13795)
Aliaksei Budavei [Thu, 28 Dec 2023 22:08:24 +0000 (01:08 +0300)] 
runtime(doc): correct the :public example (#13795)

The current example is no longer supported (E1331), as of
patch 9.0.2167.

Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agotranslation(ru): adjust tutor/README.ru.utf-8.txt (#13789)
Restorer [Thu, 28 Dec 2023 22:06:38 +0000 (01:06 +0300)] 
translation(ru): adjust tutor/README.ru.utf-8.txt (#13789)

Signed-off-by: RestorerZ <restorer@mail2k.ru>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agotranslation(it): Update Italian translations
Antonio Giovanni Colombo [Wed, 27 Dec 2023 18:45:02 +0000 (19:45 +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(elixir): missing undo_ftplugin for indentkeys
Christian Brabandt [Wed, 27 Dec 2023 18:30:41 +0000 (19:30 +0100)] 
runtime(elixir): missing undo_ftplugin for indentkeys

fixup after #13771

Signed-off-by: Christian Brabandt <cb@256bit.org>
19 months agopatch 9.0.2188: cursor wrong after { in single line buffer v9.0.2188
Gary Johnson [Wed, 27 Dec 2023 18:12:43 +0000 (19:12 +0100)] 
patch 9.0.2188: cursor wrong after { in single line buffer

Problem:  cursor wrong after { in single line buffer
          (Edwin Chan)
Solution: do not place the cursor at the end for a single
          line buffer when moving backwards
          (Gary Johnson)

closes: #13780
closes: #13783

Signed-off-by: Gary Johnson <garyjohn@spocom.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
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>