summaryrefslogtreecommitdiffstats
path: root/ftplugin/logcheck.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/logcheck.vim')
-rw-r--r--ftplugin/logcheck.vim21
1 files changed, 21 insertions, 0 deletions
diff --git a/ftplugin/logcheck.vim b/ftplugin/logcheck.vim
new file mode 100644
index 00000000..d69dc4d1
--- /dev/null
+++ b/ftplugin/logcheck.vim
@@ -0,0 +1,21 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vim') == -1
+
+" Vim filetype plugin file
+" Language: Logcheck
+" Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
+" Last Change: 2012 Jan 15
+" License: Vim License
+" URL: http://hg.debian.org/hg/pkg-vim/vim/file/unstable/runtime/ftplugin/logcheck.vim
+
+if exists("b:did_ftplugin")
+ finish
+endif
+let b:did_ftplugin = 1
+
+let b:undo_ftplugin = "setl fo<"
+
+" Do not hard-wrap non-comment lines since each line is a self-contained
+" regular expression
+setlocal formatoptions-=t
+
+endif