Skip to content

Commit

Permalink
up to 9.0.1664
Browse files Browse the repository at this point in the history
  • Loading branch information
jpalus committed Jun 25, 2023
1 parent 2a95049 commit 4431d3b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
6 changes: 3 additions & 3 deletions vim-autopaste.patch
Expand Up @@ -38,13 +38,13 @@
+++ vim72/src/optiondefs.h 2009-05-18 22:30:25.277259155 +0300
@@ -377,6 +377,9 @@
{"autoindent", "ai", P_BOOL|P_VI_DEF,
(char_u *)&p_ai, PV_AI,
(char_u *)&p_ai, PV_AI, NULL,
{(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
+ {"autopaste", "apa", P_BOOL|P_VI_DEF,
+ (char_u *)&p_apa, PV_NONE,
+ (char_u *)&p_apa, PV_NONE, NULL,
+ {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
{"autoprint", "ap", P_BOOL|P_VI_DEF,
(char_u *)NULL, PV_NONE,
(char_u *)NULL, PV_NONE, NULL,
{(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
--- vim72/src/option.h~ 2009-05-18 22:23:40.000000000 +0300
+++ vim72/src/option.h 2009-05-18 22:30:25.277259155 +0300
Expand Down
7 changes: 3 additions & 4 deletions vim-phpscript.patch
Expand Up @@ -2,13 +2,12 @@
+++ vim-8.2.4726/runtime/autoload/dist/script.vim 2022-04-10 12:01:55.436645032 +0200
@@ -297,6 +297,10 @@ def DetectFromText(line1: string)
elseif line1 =~ '^\x\{7}: \x\{2} \=\x\{2} \=\x\{2} \=\x\{2} '
set ft=xxd
setl ft=xxd

+ # PHP script tag
+ elseif line1 =~ '^<?php'
+ set ft=php
+ setl ft=php
+
# RCS/CVS log output
elseif line1 =~ '^RCS file:' || line2 =~ '^RCS file:'
set ft=rcslog

setl ft=rcslog
6 changes: 4 additions & 2 deletions vim.spec
Expand Up @@ -31,7 +31,7 @@
# wget ftp://ftp.vim.org/pub/editors/vim/patches/8.0/MD5SUMS -O - | tail -n1 | awk '{print $2}'
# VCS Commits: https://github.com/vim/vim/commits/master

%define ver 9.0.1259
%define ver 9.0.1664
%define rel 1
Summary: Vi IMproved - a Vi clone
Summary(de.UTF-8): VIsual editor iMproved
Expand All @@ -52,7 +52,7 @@ License: Charityware
Group: Applications/Editors/Vim
#Source0: ftp://ftp.vim.org/pub/vim/unix/%{name}-%{ver}.tar.bz2
Source0: https://github.com/vim/vim/archive/v%{ver}.tar.gz
# Source0-md5: cde628e2b3edc430716beb1621e2d035
# Source0-md5: 6ca4affc0ea89b798b1b2a9f4c972afd
Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
# Source1-md5: bc4d1e115ca506ad7751b9bd2b773a7f
Source2: http://skawina.eu.org/mikolaj/usr_doc_pl.zip
Expand Down Expand Up @@ -1318,6 +1318,7 @@ rm -rf $RPM_BUILD_ROOT
%dir %{_datadir}/vim/import
%dir %{_datadir}/vim/import/dist
%{_datadir}/vim/import/dist/vimhelp.vim
%{_datadir}/vim/import/dist/vimhighlight.vim

%dir %{_datadir}/vim/indent
%doc %{_datadir}/vim/indent/README.txt
Expand Down Expand Up @@ -1427,6 +1428,7 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/vim/autoload/*.vim
%exclude %{_datadir}/vim/autoload/*complete.vim
%{_datadir}/vim/autoload/xml
%{_datadir}/vim/autoload/zig
%{_datadir}/vim/compiler
%{_datadir}/vim/macros
%{_datadir}/vim/print
Expand Down

0 comments on commit 4431d3b

Please sign in to comment.