Mercurial > vim
view runtime/indent/lisp.vim @ 28125:ed151877ebac v8.2.4587
patch 8.2.4587: Vim9: double free after unpacking a list
Commit: https://github.com/vim/vim/commit/61efa16932d485fc724e4b94a8e7078a176c9946
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Mar 18 13:10:48 2022 +0000
patch 8.2.4587: Vim9: double free after unpacking a list
Problem: Vim9: double free after unpacking a list.
Solution: Make a copy of the value instead of moving it. (closes https://github.com/vim/vim/issues/9968)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 18 Mar 2022 14:15:04 +0100 |
parents | ba708ee8d69d |
children | 2198955f9e27 |
line wrap: on
line source
" Vim indent file " Language: Lisp " Maintainer: Sergey Khorev <sergey.khorev@gmail.com> " URL: http://sites.google.com/site/khorser/opensource/vim " Last Change: 2012 Jan 10 " Only load this indent file when no other was loaded. if exists("b:did_indent") finish endif let b:did_indent = 1 setlocal ai nosi let b:undo_indent = "setl ai< si<"