view runtime/indent/lifelines.vim @ 32905:2ad6e8515a78 v9.0.1761

patch 9.0.1761: g<kEnd> behaves different from g<end> Commit: https://github.com/vim/vim/commit/654bdbbd329e7267051cc2eb496bc52b66053081 Author: zeertzjq <zeertzjq@outlook.com> Date: Sun Aug 20 18:24:20 2023 +0200 patch 9.0.1761: g<kEnd> behaves different from g<end> Problem: g<kEnd> behaves different from g<end> Solution: Make g<kEnd> behave like g<End> closes: #12861 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
author Christian Brabandt <cb@256bit.org>
date Sun, 20 Aug 2023 18:30:06 +0200
parents 11b656e74444
children
line wrap: on
line source

" Vim indent file
" Language:	LifeLines
" Maintainer:	Patrick Texier <p.texier@orsennes.com>
" Location:	<http://patrick.texier.free.fr/vim/indent/lifelines.vim>
" Last Change:	2010 May 7

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

" LifeLines uses cindent without ; line terminator, C functions
" declarations, C keywords, C++ formatting
setlocal cindent
setlocal cinwords=""
setlocal cinoptions+=+0
setlocal cinoptions+=p0
setlocal cinoptions+=i0
setlocal cinoptions+=t0
setlocal cinoptions+=*500

let b:undo_indent = "setl cin< cino< cinw<"
" vim: ts=8 sw=4