annotate runtime/indent/docbk.vim @ 22478:5193420617f1
v8.2.1787
patch 8.2.1787: crash with 'incsearch' and very long line
Commit: https://github.com/vim/vim/commit/795aaa1e84d76a6fe066694de9876b8a21cbe40c
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Oct 2 20:36:01 2020 +0200
patch 8.2.1787: crash with 'incsearch' and very long line
Problem: Crash with 'incsearch' and very long line.
Solution: Check whether regprog becomes NULL. (closes https://github.com/vim/vim/issues/7063)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Fri, 02 Oct 2020 20:45:03 +0200 |
parents |
1218c5353e2b |
children |
|
rev |
line source |
7
|
1 " Vim indent file
|
11062
|
2 " Language: DocBook Documentation Format
|
|
3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
|
4 " Latest Revision: 2006-04-19
|
7
|
5
|
353
|
6 if exists("b:did_indent")
|
375
|
7 finish
|
353
|
8 endif
|
|
9
|
7
|
10 " Same as XML indenting for now.
|
|
11 runtime! indent/xml.vim
|
|
12
|
353
|
13 if exists('*XmlIndentGet')
|
|
14 setlocal indentexpr=XmlIndentGet(v:lnum,0)
|
|
15 endif
|