Mercurial > vim
view runtime/ftplugin/racc.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 | 1218c5353e2b |
children |
line wrap: on
line source
" Vim filetype plugin file " Language: Racc input file " Previous Maintainer: Nikolai Weibull <now@bitwi.se> " Latest Revision: 2008-07-09 if exists("b:did_ftplugin") finish endif let b:did_ftplugin = 1 let s:cpo_save = &cpo set cpo&vim let b:undo_ftplugin = "setl com< cms< fo<" setlocal comments=s1:/*,mb:*,ex:*/,:# commentstring=#\ %s setlocal formatoptions-=t formatoptions+=croql let &cpo = s:cpo_save unlet s:cpo_save