view runtime/indent/c.vim @ 32053:76fd08a4ae1d v9.0.1358

patch 9.0.1358: compilation error with some compilers Commit: https://github.com/vim/vim/commit/30a844771554d28f1a88a256e6088dbb252228c1 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Feb 27 08:07:14 2023 +0000 patch 9.0.1358: compilation error with some compilers Problem: Compilation error with some compilers. Solution: Avoid using "class" as member name.
author Bram Moolenaar <Bram@vim.org>
date Mon, 27 Feb 2023 09:15:04 +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<"