view runtime/ftplugin/logcheck.vim @ 10761:721af7a9b4b4 v8.0.0270

patch 8.0.0270: may get ml_get error when :rubydo deletes lines commit https://github.com/vim/vim/commit/c593fee0e5e850f7e75be41f5d1751f28892a27f Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 29 23:11:25 2017 +0100 patch 8.0.0270: may get ml_get error when :rubydo deletes lines Problem: May get ml_get error when :rubydo deletes lines or switches to another buffer. (Nikolai Pavlov, issue https://github.com/vim/vim/issues/1421) Solution: Check the buffer and line every time.
author Christian Brabandt <cb@256bit.org>
date Sun, 29 Jan 2017 23:15:50 +0100
parents af1e8a1714c2
children 9d3d7b0f4861
line wrap: on
line source

" 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