Mercurial > vim
view runtime/ftplugin/docbk.vim @ 20526:9fd5414e294c v8.2.0817
patch 8.2.0817: not enough memory allocated when converting string
Commit: https://github.com/vim/vim/commit/f7271e831614d15d173c7f562cc26f48c2554ce9
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun May 24 18:45:07 2020 +0200
patch 8.2.0817: not enough memory allocated when converting string
Problem: Not enough memory allocated when converting string with special
character.
Solution: Reserve space for modifier code. (closes #6130)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 24 May 2020 19:00:03 +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"