Mercurial > vim
view runtime/syntax/groff.vim @ 25786:ec62e0764ffa v8.2.3428
patch 8.2.3428: using freed memory when replacing
Commit: https://github.com/vim/vim/commit/35a9a00afcb20897d462a766793ff45534810dc3
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Sep 11 21:14:20 2021 +0200
patch 8.2.3428: using freed memory when replacing
Problem: Using freed memory when replacing. (Dhiraj Mishra)
Solution: Get the line pointer after calling ins_copychar().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 11 Sep 2021 21:15:03 +0200 |
parents | 4ab4ef0c48b1 |
children |
line wrap: on
line source
" VIM syntax file " Language: groff " Maintainer: John Marshall <jmarshall@hey.com> " Previous Maintainer: Pedro Alejandro López-Valencia <palopezv@gmail.com> " Last Change: 2003-05-08-12:41:13 GMT-5. " This uses the nroff.vim syntax file. let b:main_syntax = "nroff" let b:nroff_is_groff = 1 runtime! syntax/nroff.vim