- 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
|
Index: vim-7.4.580.hg.6506/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
|
--- vim-7.4.580.hg.6506.orig/runtime/filetype.vim
|
||||||
@@ -393,6 +393,9 @@ au BufNewFile,BufRead *.css setf css
|
+++ 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)
|
" Century Term Command Scripts (*.cmd too)
|
||||||
au BufNewFile,BufRead *.con setf cterm
|
au BufNewFile,BufRead *.con setf cterm
|
||||||
|
|
||||||
@ -11,16 +12,21 @@ diff -rupN vim73.orig/runtime/filetype.vim vim73/runtime/filetype.vim
|
|||||||
" Changelog
|
" Changelog
|
||||||
au BufNewFile,BufRead changelog.Debian,changelog.dch,NEWS.Debian,NEWS.dch
|
au BufNewFile,BufRead changelog.Debian,changelog.dch,NEWS.Debian,NEWS.dch
|
||||||
\ setf debchangelog
|
\ setf debchangelog
|
||||||
diff -rupN vim73.orig/runtime/syntax/changes.vim vim73/runtime/syntax/changes.vim
|
Index: vim-7.4.580.hg.6506/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
|
--- /dev/null
|
||||||
@@ -0,0 +1,37 @@
|
+++ vim-7.4.580.hg.6506/runtime/syntax/changes.vim
|
||||||
|
@@ -0,0 +1,41 @@
|
||||||
+" Vim syntax file
|
+" Vim syntax file
|
||||||
+" Filename: changes.vim
|
+" Filename: changes.vim
|
||||||
+" Language: SuSE package changes
|
+" Language: SuSE package changes
|
||||||
+" Maintainer: Michal Svec <msvec@suse.cz>
|
+" Maintainer: Michal Svec <msvec@suse.cz>
|
||||||
+" Last change: 20.8.2003
|
+" Last change: 20.8.2003
|
||||||
+
|
+
|
||||||
|
+" We shouldn't insert tabs
|
||||||
|
+" https://bugzilla.opensuse.org/show_bug.cgi?id=900839
|
||||||
|
+set expandtab
|
||||||
|
+
|
||||||
+if version < 600
|
+if version < 600
|
||||||
+ syntax clear
|
+ syntax clear
|
||||||
+elseif exists("b:current_syntax")
|
+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
|
Thu Jan 29 10:45:52 UTC 2015 - idonmez@suse.com
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user