view runtime/indent/bib.vim @ 32531:c8b28054caec v9.0.1597

patch 9.0.1597: cursor ends up below the window after a put Commit: https://github.com/vim/vim/commit/8509014adda188ee8bdf6a2e123fbf15a91b29d2 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jun 1 19:27:08 2023 +0100 patch 9.0.1597: cursor ends up below the window after a put Problem: Cursor ends up below the window after a put. Solution: Mark w_crow and w_botline invalid when changing the cursor line. (closes #12465)
author Bram Moolenaar <Bram@vim.org>
date Thu, 01 Jun 2023 20:30:05 +0200
parents fca8a9b65afa
children
line wrap: on
line source

" Vim indent file
" Language:      BibTeX
" Maintainer:    Dorai Sitaram <ds26@gte.com>
" URL:		 http://www.ccs.neu.edu/~dorai/vimplugins/vimplugins.html
" Last Change:   2005 Mar 28

" Only do this when not done yet for this buffer
if exists("b:did_indent")
  finish
endif
let b:did_indent = 1

setlocal cindent

let b:undo_indent = "setl cin<"