Mercurial > vim
view runtime/ftplugin/docbk.vim @ 3012:6622f28b7e87 v7.3.278
updated for version 7.3.278
Problem: Passing the file name to open in VisVim doesn't work.
Solution: Adjust the index and check for end of buffer. (Jiri Sedlak)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 10 Aug 2011 17:25:51 +0200 |
parents | 7d8af31066c8 |
children | 3482d151136b |
line wrap: on
line source
" Vim filetype plugin file " Language: DocBook " Maintainer: Nikolai Weibull <now@bitwi.se> " Latest Revision: 2010-10-14 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