Mercurial > vim
view runtime/colors/default.vim @ 28240:692f6a861c47 v8.2.4646
patch 8.2.4646: using buffer line after it has been freed
Commit: https://github.com/vim/vim/commit/b55986c52d4cd88a22d0b0b0e8a79547ba13e1d5
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Mar 29 13:24:58 2022 +0100
patch 8.2.4646: using buffer line after it has been freed
Problem: Using buffer line after it has been freed in old regexp engine.
Solution: After getting mark get the line again.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 29 Mar 2022 14:30:03 +0200 |
parents | 3fc0f57ecb91 |
children | 4027cefc2aab |
line wrap: on
line source
" Vim color file " Maintainer: Bram Moolenaar <Bram@vim.org> " Last Change: 2001 Jul 23 " This is the default color scheme. It doesn't define the Normal " highlighting, it uses whatever the colors used to be. " Set 'background' back to the default. The value can't always be estimated " and is then guessed. hi clear Normal set bg& " Remove all existing highlighting and set the defaults. hi clear " Load the syntax highlighting defaults, if it's enabled. if exists("syntax_on") syntax reset endif let colors_name = "default" " vim: sw=2