SHA256
1
0
forked from pool/vim

- update to 9.1.1861

- refresh patches:
    vim-7.3-filetype_changes.patch
    vim-7.3-filetype_ftl.patch
    vim-7.3-filetype_spec.patch
    vim-7.3-sh_is_bash.patch
    vim-7.4-filetype_apparmor.patch
- drop last support for python2
- enable wayland support
 * patch 9.1.1861: Amiga: Locating runtime dir and rc files can be simplified
 * patch 9.1.1860: clipboard register "+" enabled with cplipboard provider feature
 * patch 9.1.1859: completion: whitespace not cleared with 'ai'
 * patch 9.1.1858: v:register not reset after Visual mode command
 * patch 9.1.1857: Missing clipboard provider support
 * patch 9.1.1856: cannot style popup window (border, shadow, etc)
 * patch 9.1.1855: Makefile: using non-portable syntax
 * runtime(doc): Miscellaneous documentation fixes
 * runtime(doc): Fix example highlighting at :help prop_list()
 * runtime(doc): Normalise formatting of builtin function descriptions
 * runtime(doc): Remove accidental option name highlighting from :help channel.txt
 * patch 9.1.1854: unnecessary code in optionstr.c
 * patch 9.1.1853: Ctrl-F and Ctrl-B at more prompt not working with key protocol
 * runtime(vimcomplete): do not complete on empty line
 * runtime(doc): fix inconsistent alignment
 * runtime(bitbake): fix multiline Python function parameter syntax
 * runtime(rst): Preserve indentation of directives
 * runtime(rst): Update b:undo_ftplugin variable
 * runtime(rst): Style update
 * runtime(rst): Enable spell checking for more syntax constructs
 * runtime(rst): Inline literal escape support

OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=907
This commit is contained in:
2025-10-16 19:04:46 +00:00
committed by Git OBS Bridge
parent 10875afae6
commit 4501435837
9 changed files with 310 additions and 60 deletions
+251
View File
@@ -1,3 +1,254 @@
-------------------------------------------------------------------
Thu Oct 16 18:58:56 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 9.1.1861
- refresh patches:
vim-7.3-filetype_changes.patch
vim-7.3-filetype_ftl.patch
vim-7.3-filetype_spec.patch
vim-7.3-sh_is_bash.patch
vim-7.4-filetype_apparmor.patch
- drop last support for python2
- enable wayland support
* patch 9.1.1861: Amiga: Locating runtime dir and rc files can be simplified
* patch 9.1.1860: clipboard register "+" enabled with cplipboard provider feature
* patch 9.1.1859: completion: whitespace not cleared with 'ai'
* patch 9.1.1858: v:register not reset after Visual mode command
* patch 9.1.1857: Missing clipboard provider support
* patch 9.1.1856: cannot style popup window (border, shadow, etc)
* patch 9.1.1855: Makefile: using non-portable syntax
* runtime(doc): Miscellaneous documentation fixes
* runtime(doc): Fix example highlighting at :help prop_list()
* runtime(doc): Normalise formatting of builtin function descriptions
* runtime(doc): Remove accidental option name highlighting from :help channel.txt
* patch 9.1.1854: unnecessary code in optionstr.c
* patch 9.1.1853: Ctrl-F and Ctrl-B at more prompt not working with key protocol
* runtime(vimcomplete): do not complete on empty line
* runtime(doc): fix inconsistent alignment
* runtime(bitbake): fix multiline Python function parameter syntax
* runtime(rst): Preserve indentation of directives
* runtime(rst): Update b:undo_ftplugin variable
* runtime(rst): Style update
* runtime(rst): Enable spell checking for more syntax constructs
* runtime(rst): Inline literal escape support
* runtime(rst): Recognise numeric footnotes [1] correctly
* runtime(rst): Correctly end nested comments
* runtime(rst): Fix highlights nested in directive body
* runtime(rst): Add support for rst_minlines
* runtime(rst): Fix doctest block syntax
* runtime(doc): Whitespace updates
* runtime(make): syntax highlighting update for makeDefine
* runtime(vim): Update syntax, add missing commands to generator exclusion list
* patch 9.1.1852: vim9class: memory leak in parse_member()
* patch 9.1.1851: memory leak in heredoc_get()
* patch 9.1.1850: completion: not triggered after i_Ctrl-W/i_Ctrl-U
* patch 9.1.1849: CTRL-F and CTRL-B don't work in more prompt
* runtime(doc): Replace rotted URL links
* patch 9.1.1848: A few typos in the code
* patch 9.1.1847: No cmdline completion for :echoconsole and :echowindow
* runtime(cangjie): Fixes and improvements for syntax script
* runtime(doc): Add missing optional tail command-name specs
* runtime(doc): Update documentation style in gui_w32.txt
* runtime(doc): update credit section for Girish Palya
* patch 9.1.1846: Build failure when building without wayland
* patch 9.1.1845: Makefile: Missing dependency on osdef.h
* runtime(doc): Tweak documentation in develop.txt
* patch 9.1.1844: Makefile: dependencies not updated
* runtime(filetype): Improve filetype loading time
* patch 9.1.1843: tests: Test_search_stat_option() may fail on slow systems
* runtime(doc): Add reference to 'wildoptions' in fuzzy-matching docs
* patch 9.1.1842: MS-Windows: build failure when mzscheme is included
* runtime(doc,vim): Update base syntax, match full :syntime command
* runtime(vim): fix indentation after `:registers +`
* patch 9.1.1841: patch 9.1.1840 adds python build dependency
* patch 9.1.1840: Generating prototype files does not work on all platforms
* runtime(vim): Update base syntax, allow legacy script comments after :eval
* runtime(termdebug): Add remote debugging capabilities
* runtime(java): Fold adjacent "import" declarations
* runtime(colors): Update colorscheme and add TitleBar/TitleBarNC
* patch 9.1.1839: Window may have wrong height if resized from another tabpage
* patch 9.1.1838: proto files out of sync
* runtime(doc): Normalise ellipsis dots in syntax.txt
* patch 9.1.1837: tests: Test_plugin_evaluate_in_popup() fails on 32bit
* patch 9.1.1836: 'culopt' "screenline" not redrawn with line("w0") and :retab
* patch 9.1.1835: completion: not possible to style popup borders globally
* runtime(doc): Fix typos in syntax.txt
* translation(ru): updated Vim manpages
* translation(ru): Updated message file
* translation(it): Update Italian translation
* runtime(tex): link some tex highlight groups to new standard ones
* translation: regenerate po/vim.pot after a644b7924d
* patch 9.1.1833: completion: fuzzy candidates are not sorted
* runtime(doc): Update sections 5 to 8 in vim9.txt
* patch 9.1.1832: if_perl: contains references to legacy if_perlsfio
* runtime(zip): add *.pkpass to list of zip extensions
* runtime(kerml): update KerML comments to handle more cases
* runtime(doc): fix typo in :h credits section
* patch 9.1.1831: stray vseps in right-most 'winfixwidth' window
* patch 9.1.1830: MS-Windows: Dark mode titlebar is not configurable
* patch 9.1.1829: filetype: KerML and SysML files are not recognized
* patch 9.1.1828: local variables shadowed by import names
* patch 9.1.1827: completion: v9.1.1797 broke Ctrl-Y behaviour
* runtime(doc): Use the optional tail command-name spec at :help :sign
* patch 9.1.1826: Patch v9.1.1230 causes confusion about Ctrl-C behaviour
* runtime(doc): update if_perl after v9.1.1822)
* patch 9.1.1825: completion: flicker when LSP server is slow
* runtime(doc): update credits section
* patch 9.1.1824: tests: no test for displaying 'foldcolumn' with Unicode "foldinner"
* patch 9.1.1823: diff: w_topline may be invalidated
* runtime(doc): Add explanation for Vim's IME
* runtime(java): Make changes for JDK 25
* runtime(help): Update syntax
* patch 9.1.1822: Makefile still supports Perl < 5.005
* nsis: Getting the Vim version number via makensis
* nsis: Duplicate files in the icons.zip archive have been removed
* nsis: delete README.txt from the icons directory
* Filelist: include nsis/icons/README.txt again
* patch 9.1.1821: filetype: Not all PKL files are recognized
* patch 9.1.1820: completion: some issues with 'acl'
* patch 9.1.1819: Cannot configure the inner foldlevel indicator
* runtime(doc): fix typo after commit cfcf1a57cbef
* runtime(log): remove domain highlight
* runtime(new-tutor): fix mismatched line numbers in vim-02-beginner
* patch 9.1.1818: possible crash when calculating topline in diff.c
* Filelist: include nsis/icons/README.txt
* runtime(doc): Clarify use of "noselect" in 'completeopt'
* runtime(vim): Update base syntax, contain user command replacement text
* runtime(optwin): Update formatting of option descriptions
* patch 9.1.1817: popup: there are some position logic bugs
* nsis: Rework icons, update icons archive, add copyright notice
* rutnime(new-tutor): Updated English new tutor
* runtime(doc): Tweak documentation style
* patch 9.1.1816: existing icon files are dated
* runtime(netrw): MS-Windows: fix netrw not being able to navigate to parent folder
* runtime(doc): make :h virtcol() more accurate
* runtime(help): Update syntax, match legacy header at :help vim9-mix
* patch 9.1.1815: file mode changes in os_amiga.pro
* patch 9.1.1814: Patch v9.1.1812 causes crashes
* patch 9.1.1813: MS-Windows: title bar is always white
* patch 9.1.1812: completion: flicker with slow LSPs
* runtime(doc): Update os-support section for Amiga OS
* patch 9.1.1811: Amiga: Initialization of random buffer can be improved
* patch 9.1.1810: completion: "longest" doesn't work for manual completion with 'ac'
* patch 9.1.1809: winclip.pro included in PRO_AUTO
* runtime(doc): Tweak documentation style
* nsis: Load correct readme at the end, refactor gvim.nsi slightly
* nsis: Reorder code blocks
* nsis: Split gvim.nsi and factor out auxiliary code into auxiliary.nsh
* nsis: Fix indentation and alignment issues in gvim.nsi
* runtime(tex): add amsmath support to tex syntax script
* patch 9.1.1808: Option insecure flags not copied when splitting window
* patch 9.1.1807: :set doesn't clear local insecure flag like :setlocal does
* runtime(doc): update list of modifiers at :h expand()
* patch 9.1.1806: Missing PROTO defines
* runtime(help): Update syntax, add vim9 example language
* runtime(vim): Update base syntax, improve line-continuation skip patterns
* runtime(doc): Fix :help complete() example
* patch 9.1.1805: Amiga: Missing build date in version string
* runtime(vim): Update base syntax, allow Vim9 :echo tail comments
* patch 9.1.1804: Wrong indentation of nested ifdefs in findfile.c
* patch 9.1.1803: Amiga: build errors
* runtime(java): Recognise _module_ import declarations
* patch 9.1.1802: 'nowrap' in a modeline may hide malicious code
* patch 9.1.1801: Vim9: misleading error when extending dictionary
* patch 9.1.1800: completion: strange behaviour with 'ac' completeopt=longest,preinsert
* patch 9.1.1799: completion: crash with autcompletion
* patch 9.1.1798: Wrong display with 'sms' and long wrapped virt text at EOL
* runtime(doc): improve preinserted() doc
* patch 9.1.1797: completion: autocompletion can be improved
* patch 9.1.1796: Wrong cursor position with wrapped "after" virtual text and 'sbr'
* runtime(doc): update getwininfo() documentation about popups
* patch 9.1.1795: Vim9: popup_show() may return void
* runtime(vim): Update base syntax, match null_tuple literal
* patch 9.1.1794: configure: terminfo test does not work with musl
* patch 9.1.1793: Link error when build without channel feature
* patch 9.1.1792: List of changes not protected from changes
* runtime(doc): make order of verbs match order of operators
* patch 9.1.1791: type(void) throws an internal error
* runtime(python): fix 'type' syntax highlighting
* patch 9.1.1790: completion: Enter does not insert match with "noinsert"
* runtime(doc): fix inconsistent indent in cmdline.txt
* runtime(doc): Improve documentation of the ..= assignment operator
* runtime(javascript): Add "using" keyword to JavaScript syntax highlighting
* patch 9.1.1788: Vim9: can declare a void variable
* runtime(doc): mention improved rendering with 'termguicolors'
* runtime(swayconfig): support new config options in syntax script
* patch 9.1.1787: filetype: not all Sway config files are recognized
* runtime(doc): update Vim policy
* translation(sr): Update Serbian messages translation
* runtime(doc): update live-grep and fuzzy-file-picker examples
* runtime(sh): refactored sh.vim syntax script
* runtime(vim): Update base syntax, match :terminal command
* runtime(vim): Update base syntax, match :wincmd
* translation(sr): Update vim-02-beginner.tutor translation
* translation(sr): Update vim-01-beginner.tutor translation
* patch 9.1.1786: Compile error with clipboard
* runtime(netrw): 'equalalways' is not always respected
* patch 9.1.1785: typo in comment in change.c
* runtime(doc): fix typo, reorder, mention zip plugin at :h changed-9.2
* runtime(doc): clarify 'fileignorecase' option setting
* patch 9.1.1784: Wayland code can be improved
* runtime(zip): support PowerShell Core
* patch 9.1.1783: ins_compl_leader() too far away from ins_compl_leader_len()
* patch 9.1.1782: buffer-listener callbacks may not match buffer content
* patch 9.1.1781: some functions could be defined static
* runtime(vimgoto): recognize 'silent' prefixes
* patch 9.1.1780: mbyte contains overlapping list of utf_classes table
* runtime(unicode): update check for netrw
* patch 9.1.1779: completion: 'autocomplete' cannot be enabled per buffer
* patch 9.1.1778: sha256() treats empty blob and null blob differently
* runtime(lf): update syntax to support lf version r38
* patch 9.1.1777: Mouse click to open fold doesn't work with utf-8 "foldclose" chars
* patch 9.1.1776: completion: "adding" expansion doesn't work with cfc=keyword
* Remove dlejay from maintainer list
* patch 9.1.1775: filetype: Mamba configuration files are not recognized
* patch 9.1.1774: cannot calculate sha256 of a Blob
* runtime(config): fix inconsistent group name
* patch 9.1.1773: Crash in BufLeave after BufUnload closes other windows
* patch 9.1.1772: completion: inconsistent selection of first item with 'autocomplete'
* patch 9.1.1771: complete: some redraw issues with 'autocomplete'
* patch 9.1.1770: Vim9: wrong behaviour with trailing comments in command blocks
* runtime(log): highlight Java Errors
* patch 9.1.1769: completion: "preinsert" insert wrong word with 'smartcase' and 'autocomplete'
* runtime(vim): Update base syntax, fix indented Vim9 :redir highlighting
* runtime(netrw): update regex to handle remote archives
* patch 9.1.1768: Makefile does not uninstall global plugins
* patch 9.1.1767: Patch v9.1.1765 was wrong
* runtime(kitty): Fix typo in syntax file for kitty
* patch 9.1.1766: Vim9: some functions do not handle null_string correctly
* runtime(doc): Tweak doc style in syntax.txt
* runtime(doc): mention generic log highlighter
* runtime(doc): fix doc style from commit 5c9b71d63c1
* runtime(kitty): fix typo in syntax script
* runtime(doc): remove trailing whitespace from example in builtin.txt
* runtime(doc): clarify how to call complete() funcs
* runtime(m4): Improve parameters highlighting in syntax script
* patch 9.1.1765: f_isnan() and f_isinf() do not correctly initialize rettv type
* runtime(termdebug): drop outdated comment from termdebug.vim
* runtime(colors): update colorschemes:
* runtime(doc): Fix typos in eval.txt
* Fix some typos in documentation, C code and test files
* patch 9.1.1764: filetype: CODEOWNERS file not recognized
* patch 9.1.1763: filetype: kitty config files are not recognized
* patch 9.1.1762: completion: selected item not cleared on <BS> with 'ac'
* Problem: 'ruler' is set in defaults.vim
* runtime(doc): Improve doc for cmdline-ranges in cmdline.txt
* runtime(doc): Improve the doc for :syn-containedin
* runtime(doc): typo in recent doc style tweaks in options.txt
* patch 9.1.1760: wrong proto file for insexpand.pro
* patch 9.1.1759: filetype: generic log detection is too disturbing
* runtime(doc): Tweak documentation style more in options and ft_hare
* patch 9.1.1758: Diff mode crashes when adding text property in autocommand
* runtime(config): mark unportable += as an error
* runtime(html): guard against an existing b:undo_ftplugin var
* patch 9.1.1757: The colorresp plugin causes additional redraws
* patch 9.1.1756: termdebug: Need a few more user commands
* runtime(doc): update Markdown syntax documentation and mention Pandoc
* runtime(doc): tweak documentation style a bit more in options.txt
* patch 9.1.1755: filetype: generic log files are not recognized
* runtime(doc): tweak documentation style
* runtime(doc): Add :defe[r] shortname spec and tag
-------------------------------------------------------------------
Wed Sep 24 13:51:53 UTC 2025 - Martin Schreiner <martin.schreiner@suse.com>
+11 -8
View File
@@ -1,6 +1,7 @@
#
# spec file for package vim
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
@@ -17,7 +18,7 @@
%define pkg_version 9.1
%define patchlevel 1754
%define patchlevel 1861
%define patchlevel_compact %{patchlevel}
%define VIM_SUBDIR vim91
%define site_runtimepath %{_datadir}/vim/site
@@ -27,7 +28,6 @@
%else
%bcond_with libalternatives
%endif
%bcond_without python2
Name: vim
Version: %{pkg_version}.%{patchlevel_compact}
Release: 0
@@ -85,6 +85,7 @@ BuildRequires: perl
BuildRequires: pkgconfig
BuildRequires: ruby-devel
BuildRequires: update-desktop-files
BuildRequires: wayland-utils
BuildRequires: pkgconfig(form)
BuildRequires: pkgconfig(formw)
BuildRequires: pkgconfig(gtk+-3.0)
@@ -102,6 +103,10 @@ BuildRequires: pkgconfig(panelw)
BuildRequires: pkgconfig(python3)
BuildRequires: pkgconfig(tic)
BuildRequires: pkgconfig(tinfo)
BuildRequires: pkgconfig(wayland-client)
BuildRequires: pkgconfig(wayland-cursor)
BuildRequires: pkgconfig(wayland-egl)
BuildRequires: pkgconfig(wayland-protocols)
BuildRequires: pkgconfig(xt)
Requires: vim-data-common = %{version}-%{release}
Requires: xxd = %{version}-%{release}
@@ -122,9 +127,6 @@ Requires: alts
Requires(post): update-alternatives
Requires(postun): update-alternatives
%endif
%if %{with python2}
BuildRequires: python2-devel
%endif
%description
Vim (Vi IMproved) is an almost compatible version of the UNIX editor
@@ -260,19 +262,20 @@ export HUGE_OPTIONS="\
--enable-luainterp=dynamic \
--enable-perlinterp=yes \
--enable-python3interp=dynamic \
--enable-rubyinterp=dynamic
--enable-pythoninterp=%{?with_python2:yes}%{!?with_python2:no}"
--enable-rubyinterp=dynamic"
export GUI_OPTIONS="\
--disable-icon-cache-update \
--enable-xim \
--enable-fontset \
--enable-gui=gtk3"
--enable-gui=gtk3 \
--enable-wayland"
export NOGUI_OPTIONS="\
--disable-gui \
--disable-gpm \
--with-x=no \
--without-wayland \
"
pushd src
+8 -8
View File
@@ -1,10 +1,10 @@
Index: vim-9.1.1706/runtime/filetype.vim
Index: vim-9.1.1857/runtime/filetype.vim
===================================================================
--- vim-9.1.1706.orig/runtime/filetype.vim
+++ vim-9.1.1706/runtime/filetype.vim
@@ -462,6 +462,9 @@ au BufNewFile,BufRead *.css setf css
" Century Term Command Scripts (*.cmd too)
au BufNewFile,BufRead *.con setf cterm
--- vim-9.1.1857.orig/runtime/filetype.vim
+++ vim-9.1.1857/runtime/filetype.vim
@@ -221,6 +221,9 @@ endif
" Set g_filetype_h to set a different filetype
au BufNewFile,BufRead *.h call dist#ft#FTheader()
+" SuSE .changes file
+au BufNewFile,BufRead *.changes setf changes
@@ -12,10 +12,10 @@ Index: vim-9.1.1706/runtime/filetype.vim
" Changelog
au BufNewFile,BufRead changelog.Debian,changelog.dch,NEWS.Debian,NEWS.dch,*/debian/changelog
\ setf debchangelog
Index: vim-9.1.1706/runtime/syntax/changes.vim
Index: vim-9.1.1857/runtime/syntax/changes.vim
===================================================================
--- /dev/null
+++ vim-9.1.1706/runtime/syntax/changes.vim
+++ vim-9.1.1857/runtime/syntax/changes.vim
@@ -0,0 +1,41 @@
+" Vim syntax file
+" Filename: changes.vim
+8 -11
View File
@@ -1,22 +1,19 @@
Index: vim-9.1.1706/runtime/filetype.vim
Index: vim-9.1.1856/runtime/filetype.vim
===================================================================
--- vim-9.1.1706.orig/runtime/filetype.vim
+++ vim-9.1.1706/runtime/filetype.vim
@@ -2569,6 +2569,10 @@ au BufNewFile,BufRead *.stp setf stp
" Standard ML
au BufNewFile,BufRead *.sml setf sml
--- vim-9.1.1856.orig/runtime/filetype.vim
+++ vim-9.1.1856/runtime/filetype.vim
@@ -1638,3 +1638,7 @@ let &cpo = s:cpo_save
unlet s:cpo_save
" vim: ts=8
+" FreeMarker templates
+au BufNewFile,BufRead *.ftl setf ftl
+
+
" Sratus VOS command macro
au BufNewFile,BufRead *.cm setf voscm
Index: vim-9.1.1706/runtime/syntax/ftl.vim
Index: vim-9.1.1856/runtime/syntax/ftl.vim
===================================================================
--- /dev/null
+++ vim-9.1.1706/runtime/syntax/ftl.vim
+++ vim-9.1.1856/runtime/syntax/ftl.vim
@@ -0,0 +1,36 @@
+" Vim syntax file
+" Language: FreeMarker Template Language (FTL)
+15 -16
View File
@@ -1,20 +1,7 @@
Index: vim-9.1.1706/runtime/filetype.vim
Index: vim-9.1.1857/runtime/syntax/spec.vim
===================================================================
--- vim-9.1.1706.orig/runtime/filetype.vim
+++ vim-9.1.1706/runtime/filetype.vim
@@ -2495,7 +2495,7 @@ au BufRead,BufNewFile *.sol setf solid
au BufNewFile,BufRead *.rq,*.sparql setf sparql
" Spec (Linux RPM)
-au BufNewFile,BufRead *.spec setf spec
+au BufNewFile,BufRead *.spec,*.spec.in setf spec
" Speedup (AspenTech plant simulator)
au BufNewFile,BufRead *.speedup,*.spdata,*.spd setf spup
Index: vim-9.1.1706/runtime/syntax/spec.vim
===================================================================
--- vim-9.1.1706.orig/runtime/syntax/spec.vim
+++ vim-9.1.1706/runtime/syntax/spec.vim
--- vim-9.1.1857.orig/runtime/syntax/spec.vim
+++ vim-9.1.1857/runtime/syntax/spec.vim
@@ -104,7 +104,7 @@ syn case ignore
"%% PreAmble Section %%
"Copyright and Serial were deprecated by License and Epoch
@@ -24,3 +11,15 @@ Index: vim-9.1.1706/runtime/syntax/spec.vim
"%% Description Section %%
syn region specDescriptionArea matchgroup=specSection start='^%description' end='^%'me=e-1 contains=specDescriptionOpts,specEmail,specURL,specNumber,specMacroIdentifier,specComment
Index: vim-9.1.1857/runtime/autoload/dist/ft.vim
===================================================================
--- vim-9.1.1857.orig/runtime/autoload/dist/ft.vim
+++ vim-9.1.1857/runtime/autoload/dist/ft.vim
@@ -2669,6 +2669,7 @@ const ft_from_ext = {
"sparql": "sparql",
# Spec (Linux RPM)
"spec": "spec",
+ "spec.in": "spec",
# Speedup (AspenTech plant simulator)
"speedup": "spup",
"spdata": "spup",
+5 -5
View File
@@ -1,9 +1,9 @@
Index: vim-9.1.1706/runtime/syntax/sh.vim
Index: vim-9.1.1856/runtime/syntax/sh.vim
===================================================================
--- vim-9.1.1706.orig/runtime/syntax/sh.vim
+++ vim-9.1.1706/runtime/syntax/sh.vim
@@ -146,6 +146,13 @@ if exists("b:is_kornshell") || exists("b
endif
--- vim-9.1.1856.orig/runtime/syntax/sh.vim
+++ vim-9.1.1856/runtime/syntax/sh.vim
@@ -147,6 +147,13 @@ if exists("b:is_kornshell") || exists("b
endif
endif
+" Neither is_kornshell nor is_bash was explicitly set, and
+9 -9
View File
@@ -1,15 +1,15 @@
Index: vim-9.1.1706/runtime/filetype.vim
Index: vim-9.1.1857/runtime/filetype.vim
===================================================================
--- vim-9.1.1706.orig/runtime/filetype.vim
+++ vim-9.1.1706/runtime/filetype.vim
@@ -124,6 +124,10 @@ au BufNewFile,BufRead *.asy setf asy
au BufNewFile,BufRead .htaccess,*/etc/httpd/*.conf setf apache
au BufNewFile,BufRead */etc/apache2/sites-*/*.com setf apache
--- vim-9.1.1857.orig/runtime/filetype.vim
+++ vim-9.1.1857/runtime/filetype.vim
@@ -124,6 +124,10 @@ au BufNewFile,BufRead *.demo,*.dm{1,2,3,
" *.[sS], *.[aA] usually Assembly - GNU
au BufNewFile,BufRead *.asm,*.[sS],*.[aA],*.mac,*.lst call dist#ft#FTasm()
+" AppArmor
+au BufNewFile,BufRead */etc/apparmor.d/* setf apparmor
+au BufNewFile,BufRead */etc/apparmor/profiles/* setf apparmor
+
" XA65 MOS6510 cross assembler
au BufNewFile,BufRead *.a65 setf a65
" BASIC or Visual Basic
au BufNewFile,BufRead *.bas call dist#ft#FTbas()
au BufNewFile,BufRead *.bi,*.bm call dist#ft#FTbas()
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.