view runtime/indent/c.vim @ 27593:8c7836f8668d v8.2.4323

patch 8.2.4323: Vim9: nested function name can start with "_" Commit: https://github.com/vim/vim/commit/f681cfb90b972cb347b3d707c87e48f8accd0e2a Author: Bram Moolenaar <Bram@vim.org> Date: Mon Feb 7 20:30:57 2022 +0000 patch 8.2.4323: Vim9: nested function name can start with "_" Problem: Vim9: nested function name can start with "_". Solution: Use same rule for function name for nested functions. (closes #9713)
author Bram Moolenaar <Bram@vim.org>
date Mon, 07 Feb 2022 21:45:02 +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<"