view runtime/ftplugin/docbk.vim @ 16328:b576f2e069b7 v8.1.1169

patch 8.1.1169: writing coverage info in a separate dir is not needed commit https://github.com/vim/vim/commit/837854d1bc01d91ff463a2cfdf8aec9b89d5fbd1 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Apr 13 22:44:51 2019 +0200 patch 8.1.1169: writing coverage info in a separate dir is not needed Problem: Writing coverage info in a separate dir is not needed. Solution: Revert the changes to use a separate directory.
author Bram Moolenaar <Bram@vim.org>
date Sat, 13 Apr 2019 22:45:05 +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"