view runtime/indent/cs.vim @ 2119:111554354870 v7.2.402

updated for version 7.2.402 Problem: This gives a #705 error: let X = function('haslocaldir') let X = function('getcwd') Solution: Don't give E705 when the name is found in the hashtab. (Sergey Khorev)
author Bram Moolenaar <bram@zimbu.org>
date Wed, 17 Mar 2010 19:53:49 +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<"