view runtime/indent/cs.vim @ 7765:9c0d554a497e v7.4.1180

commit https://github.com/vim/vim/commit/7465c6375fd60eab603681bcad8a8744ddc31614 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jan 25 22:20:27 2016 +0100 patch 7.4.1180 Problem: Crash with invalid argument to glob2regpat(). Solution: Check for NULL. (Justin M. Keyes, closes https://github.com/vim/vim/issues/596) Add a test.
author Christian Brabandt <cb@256bit.org>
date Mon, 25 Jan 2016 22:30:05 +0100
parents fca8a9b65afa
children bc1a8d21c811
line wrap: on
line source

" Vim indent file
" Language:	C#
" Maintainer:	Johannes Zellner <johannes@zellner.org>
" Last Change:	Fri, 15 Mar 2002 07:53:54 CET

" Only load this indent file when no other was loaded.
if exists("b:did_indent")
   finish
endif
let b:did_indent = 1

" C# is like indenting C
setlocal cindent

let b:undo_indent = "setl cin<"