[SCM] Vim packaging branch, debian, updated. upstream/7.2.000-223-g657eb70

James Vega jamessan at debian.org
Sat Aug 30 16:33:42 UTC 2008


The following commit has been merged in the debian branch:
commit 657eb7004646705ddbf7f135a5d716fe8b9e5ae1
Author: James Vega <jamessan at debian.org>
Date:   Sat Aug 30 12:32:08 2008 -0400

    Add logcheck ftplugin/detection to set tw=0
    
    Closes: #382986
    
    Signed-off-by: James Vega <jamessan at debian.org>

diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index a8e6261..f5b8384 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -975,6 +975,9 @@ au BufNewFile,BufRead *.lite,*.lt		setf lite
 " LiteStep RC files
 au BufNewFile,BufRead */LiteStep/*/*.rc		setf litestep
 
+" Logcheck files
+au BufNewFile,BufRead /etc/logcheck/*.d/*	setf logcheck
+
 " Login access
 au BufNewFile,BufRead /etc/login.access		setf loginaccess
 
diff --git a/runtime/ftplugin/logcheck.vim b/runtime/ftplugin/logcheck.vim
new file mode 100644
index 0000000..b74b0c7
--- /dev/null
+++ b/runtime/ftplugin/logcheck.vim
@@ -0,0 +1,15 @@
+" Vim filetype plugin file
+" Language:    Logcheck
+" Maintainer:  Debian Vim Maintainers <pkg-vim-maintainers at lists.alioth.debian.org>
+" Last Change: 2008-08-30
+" License:     GNU GPL, version 2.0
+" URL:         http://git.debian.org/?p=pkg-vim/vim.git;a=blob_plain;f=runtime/ftplugin/logcheck.vim;hb=debian
+
+if exists("b:did_ftplugin")
+    finish
+endif
+
+let b:did_ftplugin = 1
+
+" Do not hard-wrap lines since logcheck requires one line per regex
+setlocal textwidth=0

-- 
Vim packaging



More information about the pkg-vim-maintainers mailing list