Mercurial > vim
view runtime/indent/dictdconf.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 | 1218c5353e2b |
children | 6dd88e45d47d |
line wrap: on
line source
" Vim indent file " Language: dictd(8) configuration file " Previous Maintainer: Nikolai Weibull <now@bitwi.se> " Latest Revision: 2006-12-20 if exists("b:did_indent") finish endif let b:did_indent = 1 setlocal indentkeys=0{,0},!^F,o,O cinwords= autoindent smartindent setlocal nosmartindent inoremap <buffer> # X#