view runtime/indent/bib.vim @ 12385:972732a27d7c v8.0.1072

patch 8.0.1072: :highlight command causes a redraw even when nothing changed commit https://github.com/vim/vim/commit/99433291b135094d9592c41f96d3ccd60073e2c1 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Sep 8 12:37:47 2017 +0200 patch 8.0.1072: :highlight command causes a redraw even when nothing changed Problem: The :highlight command causes a redraw even when nothing changed. Solution: Only set "need_highlight_changed" when an attribute changed.
author Christian Brabandt <cb@256bit.org>
date Fri, 08 Sep 2017 12:45:04 +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<"