From 6e4e8b542c11c9283128f92a26287831149d90eda3eee014b7efc0e92bcadc21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Thu, 29 Jan 2015 12:25:37 +0000 Subject: [PATCH] - Modify vim-7.3-filetype_changes.patch to expand tabs when editing *.changes files (bnc#900839) OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=252 --- vim-7.3-filetype_changes.patch | 22 ++++++++++++++-------- vim.changes | 6 ++++++ 2 files changed, 20 insertions(+), 8 deletions(-) diff --git a/vim-7.3-filetype_changes.patch b/vim-7.3-filetype_changes.patch index f4864ff..57cae0d 100644 --- a/vim-7.3-filetype_changes.patch +++ b/vim-7.3-filetype_changes.patch @@ -1,7 +1,8 @@ -diff -rupN vim73.orig/runtime/filetype.vim vim73/runtime/filetype.vim ---- vim73.orig/runtime/filetype.vim 2010-08-03 22:44:00.000000000 +0200 -+++ vim73/runtime/filetype.vim 2010-11-21 06:22:56.650975029 +0100 -@@ -393,6 +393,9 @@ au BufNewFile,BufRead *.css setf css +Index: vim-7.4.580.hg.6506/runtime/filetype.vim +=================================================================== +--- vim-7.4.580.hg.6506.orig/runtime/filetype.vim ++++ vim-7.4.580.hg.6506/runtime/filetype.vim +@@ -407,6 +407,9 @@ au BufNewFile,BufRead *.css setf css " Century Term Command Scripts (*.cmd too) au BufNewFile,BufRead *.con setf cterm @@ -11,16 +12,21 @@ diff -rupN vim73.orig/runtime/filetype.vim vim73/runtime/filetype.vim " Changelog au BufNewFile,BufRead changelog.Debian,changelog.dch,NEWS.Debian,NEWS.dch \ setf debchangelog -diff -rupN vim73.orig/runtime/syntax/changes.vim vim73/runtime/syntax/changes.vim ---- vim73.orig/runtime/syntax/changes.vim 1970-01-01 01:00:00.000000000 +0100 -+++ vim73/runtime/syntax/changes.vim 2010-11-21 06:22:56.649094929 +0100 -@@ -0,0 +1,37 @@ +Index: vim-7.4.580.hg.6506/runtime/syntax/changes.vim +=================================================================== +--- /dev/null ++++ vim-7.4.580.hg.6506/runtime/syntax/changes.vim +@@ -0,0 +1,41 @@ +" Vim syntax file +" Filename: changes.vim +" Language: SuSE package changes +" Maintainer: Michal Svec +" Last change: 20.8.2003 + ++" We shouldn't insert tabs ++" https://bugzilla.opensuse.org/show_bug.cgi?id=900839 ++set expandtab ++ +if version < 600 + syntax clear +elseif exists("b:current_syntax") diff --git a/vim.changes b/vim.changes index 945ef5e..40e6a91 100644 --- a/vim.changes +++ b/vim.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jan 29 12:25:06 UTC 2015 - idonmez@suse.com + +- Modify vim-7.3-filetype_changes.patch to expand tabs when editing + *.changes files (bnc#900839) + ------------------------------------------------------------------- Thu Jan 29 10:45:52 UTC 2015 - idonmez@suse.com