annotate runtime/indent/ant.vim @ 28283:2fd2ce8a556c
v8.2.4667
patch 8.2.4667: expandcmd() fails on an error
Commit: https://github.com/vim/vim/commit/5018a836c030988944a9bbe2fd2e538bf5261a72
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Sat Apr 2 21:12:21 2022 +0100
patch 8.2.4667: expandcmd() fails on an error
Problem: expandcmd() fails on an error.
Solution: On failure return the command unmodified. (yegappan Lakshmanan,
closes #10063)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Sat, 02 Apr 2022 22:15:03 +0200 |
parents |
3fc0f57ecb91 |
children |
|
rev |
line source |
7
|
1 " Vim indent file
|
|
2 " Language: ANT files
|
|
3 " Maintainer: David Fishburn <fishburn@ianywhere.com>
|
|
4 " Last Change: Thu May 15 2003 10:02:54 PM
|
|
5
|
|
6 " Only load this indent file when no other was loaded.
|
|
7 if exists("b:did_indent")
|
|
8 finish
|
|
9 endif
|
|
10
|
|
11 " Use XML formatting rules
|
|
12 runtime! indent/xml.vim
|