Mercurial > vim
view runtime/indent/bash.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 | 03b854983b14 |
children | 71cbad0921c9 |
line wrap: on
line source
" Vim indent file " Language: bash " Maintainer: Bram " Last Change: 2019 Sep 27 " Only load this indent file when no other was loaded. if exists("b:did_indent") finish endif " The actual indenting is in sh.vim and controlled by buffer-local variables. unlet! b:is_sh unlet! b:is_kornshell let b:is_bash = 1 runtime! indent/sh.vim " vim: ts=8