view runtime/ftplugin/docbk.vim @ 17559:0ba896d48a56 v8.1.1777

patch 8.1.1777: useless checks for job feature in channel test commit https://github.com/vim/vim/commit/f386f08ccbd88e28479a4131a1b919bd3c0913ea Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jul 29 23:03:03 2019 +0200 patch 8.1.1777: useless checks for job feature in channel test Problem: Useless checks for job feature in channel test. Solution: Remove the checks. Remove ch_log() calls.
author Bram Moolenaar <Bram@vim.org>
date Mon, 29 Jul 2019 23:15: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"