Mercurial > vim
view runtime/ftplugin/docbk.vim @ 17528:62a6d99082f7 v8.1.1762
patch 8.1.1762: some filetype rules are in the wrong place
commit https://github.com/vim/vim/commit/c273405188cc2f19e949089cda1f92bd81610dac
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jul 27 21:57:21 2019 +0200
patch 8.1.1762: some filetype rules are in the wrong place
Problem: Some filetype rules are in the wrong place.
Solution: Move to the right place. Add a few more tests.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 27 Jul 2019 22:00:06 +0200 |
parents | 3482d151136b |
children |
line wrap: on
line source
" Vim filetype plugin file " Language: DocBook " Maintainer: Nikolai Weibull <now@bitwi.se> " Latest Revision: 2012-04-25 if exists('b:did_ftplugin') finish endif if !exists('b:docbk_type') if expand('%:e') == 'sgml' let b:docbk_type = 'sgml' else let b:docbk_type = 'xml' endif endif if b:docbk_type == 'sgml' runtime! ftplugin/sgml.vim ftplugin/sgml_*.vim ftplugin/sgml/*.vim else runtime! ftplugin/xml.vim ftplugin/xml_*.vim ftplugin/xml/*.vim endif let b:undo_ftplugin = "unlet! b:docbk_type"