Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into tabsidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
rbtnn committed Oct 7, 2024
2 parents 8ac705d + 015c84c commit 5424ee3
Show file tree
Hide file tree
Showing 13 changed files with 211 additions and 103 deletions.
34 changes: 22 additions & 12 deletions nsis/gvim.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ Unicode true
!define WIN64 0
!endif

# if you don't want to include libgcc_s_sjlj-1.dll in the package, use the
# switch /DINCLUDE_LIBGCC=0 on the command line makensis.exe.
!ifndef INCLUDE_LIBGCC
!define INCLUDE_LIBGCC 1
!endif

!include gvim_version.nsh # for version number

# Definition of Patch for Vim.
Expand Down Expand Up @@ -728,12 +734,14 @@ Section "$(str_section_nls)" id_section_nls
!insertmacro InstallLib DLL NOTSHARED REBOOT_NOTPROTECTED \
"${GETTEXT}\gettext${BIT}\libiconv-2.dll" \
"$0\libiconv-2.dll" "$0"
# Install libgcc_s_sjlj-1.dll only if it is needed.
# !if /FileExists "${GETTEXT}\gettext${BIT}\libgcc_s_sjlj-1.dll"
# !insertmacro InstallLib DLL NOTSHARED REBOOT_NOTPROTECTED \
# "${GETTEXT}\gettext${BIT}\libgcc_s_sjlj-1.dll" \
# "$0\libgcc_s_sjlj-1.dll" "$0"
# !endif
!if ${INCLUDE_LIBGCC}
!if /FileExists "${GETTEXT}\gettext${BIT}\libgcc_s_sjlj-1.dll"
# Install libgcc_s_sjlj-1.dll only if it is needed.
!insertmacro InstallLib DLL NOTSHARED REBOOT_NOTPROTECTED \
"${GETTEXT}\gettext${BIT}\libgcc_s_sjlj-1.dll" \
"$0\libgcc_s_sjlj-1.dll" "$0"
!endif
!endif

${If} ${SectionIsSelected} ${id_section_editwith}
${If} ${RunningX64}
Expand All @@ -759,12 +767,14 @@ Section "$(str_section_nls)" id_section_nls
!insertmacro InstallLib DLL NOTSHARED REBOOT_NOTPROTECTED \
"${GETTEXT}\gettext32\libiconv-2.dll" \
"$0\GvimExt32\libiconv-2.dll" "$0\GvimExt32"
# Install libgcc_s_sjlj-1.dll only if it is needed.
# !if /FileExists "${GETTEXT}\gettext32\libgcc_s_sjlj-1.dll"
# !insertmacro InstallLib DLL NOTSHARED REBOOT_NOTPROTECTED \
# "${GETTEXT}\gettext32\libgcc_s_sjlj-1.dll" \
# "$0\GvimExt32\libgcc_s_sjlj-1.dll" "$0\GvimExt32"
# !endif
!if ${INCLUDE_LIBGCC}
!if /FileExists "${GETTEXT}\gettext32\libgcc_s_sjlj-1.dll"
# Install libgcc_s_sjlj-1.dll only if it is needed.
!insertmacro InstallLib DLL NOTSHARED REBOOT_NOTPROTECTED \
"${GETTEXT}\gettext32\libgcc_s_sjlj-1.dll" \
"$0\GvimExt32\libgcc_s_sjlj-1.dll" "$0\GvimExt32"
!endif
!endif
${EndIf}
SectionEnd
!endif
Expand Down
5 changes: 2 additions & 3 deletions runtime/doc/change.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*change.txt* For Vim version 9.1. Last change: 2024 Jul 28
*change.txt* For Vim version 9.1. Last change: 2024 Oct 07


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -1283,8 +1283,7 @@ mapped. E.g. |%| is mapped by the matchit plugin.
With each successive deletion or change, Vim shifts the previous contents
of register 1 into register 2, 2 into 3, and so forth, losing the previous
contents of register 9.
{Vi: numbered register contents are lost when changing files; register 0 does
not exist}
{Vi: register 0 does not exist}

3. Small delete register "- *quote_-* *quote-*
This register contains text from commands that delete less than one line,
Expand Down
4 changes: 3 additions & 1 deletion runtime/doc/map.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*map.txt* For Vim version 9.1. Last change: 2024 Sep 26
*map.txt* For Vim version 9.1. Last change: 2024 Oct 07


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -84,6 +84,8 @@ modes.
where the map command applies. Disallow mapping of
{rhs}, to avoid nested and recursive mappings. Often
used to redefine a command.
Note: Keys in {rhs} also won't trigger abbreviation,
with the exception of |i_CTRL-]| and |c_CTRL-]|.
Note: When <Plug> appears in the {rhs} this part is
always applied even if remapping is disallowed.

Expand Down
6 changes: 3 additions & 3 deletions runtime/doc/usr_52.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*usr_52.txt* For Vim version 9.1. Last change: 2024 Jun 09
*usr_52.txt* For Vim version 9.1. Last change: 2024 Oct 07

VIM USER MANUAL - by Bram Moolenaar

Expand All @@ -13,7 +13,7 @@ smaller parts.
|52.3| Autoloading without import/export
|52.4| Other mechanisms to use
|52.5| Using a Vim9 script from legacy script
|52.6| Vim9 script examples: comment package, highlight-yank plugin
|52.6| Vim9 examples: comment and highlight-yank plugin

Next chapter: |usr_90.txt| Installing Vim
Previous chapter: |usr_51.txt| Create a plugin
Expand Down Expand Up @@ -337,7 +337,7 @@ will have to make sure to use a unique name for these global items. Example: >
call g:NicePluginTest()
==============================================================================
*52.6* Vim9 script examples: comment package, highlight-yank plugin
*52.6* Vim9 examples: comment and highlight-yank plugin

COMMENT PACKAGE

Expand Down
3 changes: 2 additions & 1 deletion runtime/doc/usr_toc.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*usr_toc.txt* For Vim version 9.1. Last change: 2024 Oct 05
*usr_toc.txt* For Vim version 9.1. Last change: 2024 Oct 07

VIM USER MANUAL - by Bram Moolenaar

Expand Down Expand Up @@ -360,6 +360,7 @@ Writing Vim script ~
|52.3| Autoloading without import/export
|52.4| Other mechanisms to use
|52.5| Using a Vim9 script from legacy script
|52.6| Vim9 examples: comment and highlight-yank plugin

==============================================================================
Making Vim Run ~
Expand Down
8 changes: 7 additions & 1 deletion runtime/ftplugin/spec.vim
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
" Last Change: 2015 Jun 01
" Update by Zdenek Dohnal, 2022 May 17
" 2024 Sep 10 by Vim Project: add epoch support for spec changelog, #15537
" 2024 Oct 07 by Vim Project: add comment support, #15817

if exists("b:did_ftplugin")
finish
Expand All @@ -14,6 +15,11 @@ let b:did_ftplugin = 1
let s:cpo_save = &cpo
set cpo&vim

setlocal comments=b:#
setlocal commentstring=#\ %s

let b:undo_ftplugin = "setlocal comments< commentstring<"

if !exists("no_plugin_maps") && !exists("no_spec_maps")
if !hasmapto("<Plug>SpecChangelog")
map <buffer> <LocalLeader>c <Plug>SpecChangelog
Expand Down Expand Up @@ -216,4 +222,4 @@ let b:match_words =
let &cpo = s:cpo_save
unlet s:cpo_save

let b:undo_ftplugin = "unlet! b:match_ignorecase b:match_words"
let b:undo_ftplugin ..= " | unlet! b:match_ignorecase b:match_words"
Loading

0 comments on commit 5424ee3

Please sign in to comment.