view runtime/indent/c.vim @ 11034:8ae6d6052b14 v8.0.0406

patch 8.0.0406: arabic shaping code is verbose commit https://github.com/vim/vim/commit/7f73b54631af3f0e6f0acd1a1b4c9e8436784705 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Mar 4 14:50:19 2017 +0100 patch 8.0.0406: arabic shaping code is verbose Problem: The arabic shaping code is verbose. Solution: Shorten the code without changing the functionality.
author Christian Brabandt <cb@256bit.org>
date Sat, 04 Mar 2017 15:00:04 +0100
parents fca8a9b65afa
children 4027cefc2aab
line wrap: on
line source

" Vim indent file
" Language:	C
" Maintainer:	Bram Moolenaar <Bram@vim.org>
" Last Change:	2005 Mar 27

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

" C indenting is built-in, thus this is very simple
setlocal cindent

let b:undo_indent = "setl cin<"