view runtime/indent/c.vim @ 23742:1f24fcf5945a v8.2.2412

patch 8.2.2412: not all fields in "cstack" are initialized Commit: https://github.com/vim/vim/commit/ce0370d9e67df80c62ff033aa8ca2dbe86841de9 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jan 26 19:32:53 2021 +0100 patch 8.2.2412: not all fields in "cstack" are initialized Problem: Not all fields in "cstack" are initialized which might cause a crash. Solution: Use CLEAR_FIELD().
author Bram Moolenaar <Bram@vim.org>
date Tue, 26 Jan 2021 19:45:06 +0100
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<"