Mercurial > vim
view runtime/indent/bib.vim @ 32623:2cd120c9daba v9.0.1643
patch 9.0.1643: filetype detection fails if file name ends in many '~'
Commit: https://github.com/vim/vim/commit/c12e4eecbb26cedca96e0810d3501043356eebaa
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jun 22 12:18:57 2023 +0100
patch 9.0.1643: filetype detection fails if file name ends in many '~'
Problem: Filetype detection fails if file name ends in many '~'.
Solution: Strip multiple '~' at the same time. (closes https://github.com/vim/vim/issues/12553)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 22 Jun 2023 13: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<"