- 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
This commit is contained in:
parent
cc4df34c0a
commit
6e4e8b542c
@ -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 <msvec@suse.cz>
|
||||
+" 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")
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user