Mercurial > vim
view runtime/indent/xhtml.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 | 25dd5036f2b0 |
children | 4027cefc2aab |
line wrap: on
line source
" Vim indent file " Language: XHTML " Maintainer: Bram Moolenaar <Bram@vim.org> (for now) " Last Change: 2005 Jun 24 " Only load this indent file when no other was loaded. if exists("b:did_indent") finish endif " Handled like HTML for now. runtime! indent/html.vim