Mercurial > vim
view runtime/indent/c.vim @ 20685:4c66962d322b v8.2.0896
patch 8.2.0896: crash when calling searchcount() with a string
Commit: https://github.com/vim/vim/commit/14681627f39421cce289345d4ec9927c10fa3b1c
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jun 3 22:57:39 2020 +0200
patch 8.2.0896: crash when calling searchcount() with a string
Problem: Crash when calling searchcount() with a string.
Solution: Check the argument is a dict. (closes https://github.com/vim/vim/issues/6192)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 03 Jun 2020 23:00:03 +0200 |
parents | fca8a9b65afa |
children | 4027cefc2aab |
line wrap: on
line source
" Vim indent file " Language: C " Maintainer: Bram Moolenaar <Bram@vim.org> " Last Change: 2005 Mar 27 " Only load this indent file when no other was loaded. if exists("b:did_indent") finish endif let b:did_indent = 1 " C indenting is built-in, thus this is very simple setlocal cindent let b:undo_indent = "setl cin<"