Mercurial > vim
view runtime/ftplugin/docbk.vim @ 17602:653ab352b019 v8.1.1798
patch 8.1.1798: warning for unused variable in tiny version
commit https://github.com/vim/vim/commit/eda35f7127c6ac51573eda808687f6369c31ee2d
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 3 14:59:44 2019 +0200
patch 8.1.1798: warning for unused variable in tiny version
Problem: Warning for unused variable in tiny version. (Tony Mechelynck)
Solution: Move inside #ifdef. Reformat code.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 03 Aug 2019 15:00: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"