vim-polyglot/indent/cs.vim
2017-09-27 20:43:42 +02:00

20 lines
414 B
VimL

if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vim') == -1
" 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<"
endif