annotate runtime/ftplugin/xslt.vim @ 23529:049b1e867137
v8.2.2307
patch 8.2.2307: a shell command in the vimrc causes terminal output
Commit: https://github.com/vim/vim/commit/ebbf11c1198b7aec8a1a55f7231ecb4f1a432fa0
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jan 7 14:45:03 2021 +0100
patch 8.2.2307: a shell command in the vimrc causes terminal output
Problem: A shell command in the vimrc causes terminal output.
Solution: Do not call starttermcap() after a shell command if the termcap
wasn't active before.
author |
Bram Moolenaar <Bram@vim.org> |
date |
Thu, 07 Jan 2021 15:00:05 +0100 |
parents |
7bc41231fbc7 |
children |
c968191a8557 |
rev |
line source |
7
|
1 " Vim filetype plugin file
|
|
2 " Language: xslt
|
2034
|
3 " Maintainer: Dan Sharp <dwsharp at users dot sourceforge dot net>
|
|
4 " Last Changed: 20 Jan 2009
|
|
5 " URL: http://dwsharp.users.sourceforge.net/vim/ftplugin
|
7
|
6
|
|
7 if exists("b:did_ftplugin") | finish | endif
|
|
8
|
|
9 runtime! ftplugin/xml.vim ftplugin/xml_*.vim ftplugin/xml/*.vim
|
|
10
|
|
11 let b:did_ftplugin = 1
|
|
12
|
|
13 " Change the :browse e filter to primarily show xsd-related files.
|
|
14 if has("gui_win32") && exists("b:browsefilter")
|
15
|
15 let b:browsefilter="XSLT Files (*.xsl,*.xslt)\t*.xsl;*.xslt\n" . b:browsefilter
|
7
|
16 endif
|