Mercurial > vim
view runtime/indent/bib.vim @ 32017:b4e5d28b788c v9.0.1340
patch 9.0.1340: Coverity warns for using NULL pointer
Commit: https://github.com/vim/vim/commit/666cb9c5303753fef7039e9a9e5fbe9a44299607
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Feb 22 12:35:17 2023 +0000
patch 9.0.1340: Coverity warns for using NULL pointer
Problem: Coverity warns for using NULL pointer.
Solution: Check that lhs_type is not NULL.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 22 Feb 2023 13:45:04 +0100 |
parents | fca8a9b65afa |
children |
line wrap: on
line source
" Vim indent file " Language: BibTeX " Maintainer: Dorai Sitaram <ds26@gte.com> " URL: http://www.ccs.neu.edu/~dorai/vimplugins/vimplugins.html " Last Change: 2005 Mar 28 " Only do this when not done yet for this buffer if exists("b:did_indent") finish endif let b:did_indent = 1 setlocal cindent let b:undo_indent = "setl cin<"