view runtime/indent/cs.vim @ 2091:95b659982b7c v7.2.375

updated for version 7.2.375 Problem: ml_get errors when using ":bprevious" in a BufEnter autocmd. (Dominique Pelle) Solution: Clear w_valid when entering another buffer.
author Bram Moolenaar <bram@zimbu.org>
date Wed, 24 Feb 2010 16:58:36 +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<"