[SCM] Vim packaging branch, debian, updated. upstream/7.2b.001-223-g0825719
James Vega
jamessan at debian.org
Tue Aug 5 22:58:06 UTC 2008
The following commit has been merged in the debian branch:
commit 0825719b5e6738269b772cac55dee06463968433
Author: James Vega <jamessan at debian.org>
Date: Tue Aug 5 18:53:16 2008 -0400
Do not enable 'autoindent' and filetype plugins by default.
'autoindent' is being disabled because it is rather naïve and the user is
generally better served by enabling filetype-specific indenting. This also
helps defer the "bad pasting" problem until the user figures out how to enable
automatic-indenting for themselves.
filetype plugins are being disabled because certain actions (such as disabling
the default menus) MUST happen before filetype plugins or syntax highlighting
are enabled. Therefore, enabling filetype plugins in the debian.vim prevents
normal users from being able to change certain aspects of Vim's behavior.
Signed-off-by: James Vega <jamessan at debian.org>
diff --git a/debian/runtime/debian.vim.in b/debian/runtime/debian.vim.in
index fe4e498..4fe2cd3 100644
--- a/debian/runtime/debian.vim.in
+++ b/debian/runtime/debian.vim.in
@@ -9,8 +9,6 @@ set nocompatible " Use Vim defaults instead of 100% vi compatibility
set backspace=indent,eol,start " more powerful backspacing
" Now we set some defaults for the editor
-set autoindent " always set autoindenting on
-" set linebreak " Don't wrap words by default
set history=50 " keep 50 lines of command line history
set ruler " show the cursor position all the time
@@ -29,13 +27,12 @@ if &term =~ "xterm-debian" || &term =~ "xterm-xfree86"
set t_Sb=[4%dm
endif
-if has("autocmd")
+"if has("autocmd")
" Enabled file type detection
" Use the default filetype settings. If you also want to load indent files
" to automatically do language-dependent indenting add 'indent' as well.
- filetype plugin on
-
-endif " has ("autocmd")
+" filetype plugin on
+"endif " has ("autocmd")
" Some Debian-specific things
if has("autocmd")
--
Vim packaging
More information about the pkg-vim-maintainers
mailing list