Mercurial > vim
view runtime/ftplugin/docbk.vim @ 22766:a7082e865ffd v8.2.1931
patch 8.2.1931: Vim9: arguments of extend() not checked at compile time
Commit: https://github.com/vim/vim/commit/fbcbffe1ad327f4f0da518abfd5fd7be7fec22b5
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Oct 31 19:33:38 2020 +0100
patch 8.2.1931: Vim9: arguments of extend() not checked at compile time
Problem: Vim9: arguments of extend() not checked at compile time.
Solution: Add argument type checking for extend().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 31 Oct 2020 19:45:03 +0100 |
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"