Mercurial > vim
view runtime/indent/bib.vim @ 27758:5a8258fde1d9 v8.2.4405
patch 8.2.4405: compiler warning for unused variable without +folding
Commit: https://github.com/vim/vim/commit/8329ab79b26be4c6c5766d80abae4a22385ee9e1
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Feb 16 21:51:00 2022 +0000
patch 8.2.4405: compiler warning for unused variable without +folding
Problem: Compiler warning for unused variable without the +folding feature.
(Tony Mechelynck)
Solution: Add #ifdef.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 16 Feb 2022 23:00:04 +0100 |
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<"