view runtime/indent/cs.vim @ 7422:35af1e06696b v7.4.1015

commit https://github.com/vim/vim/commit/c21d67e33c1b42a492e04788cbb14a23a6724e39 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Dec 31 22:27:55 2015 +0100 patch 7.4.1015 Problem: The column is not restored properly when the matchparen plugin is used in Insert mode and the cursor is after the end of the line. Solution: Set the curswant flag. (Christian Brabandt). Also fix highlighting the match of the character before the cursor.
author Christian Brabandt <cb@256bit.org>
date Thu, 31 Dec 2015 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<"