Mercurial > vim
annotate runtime/ftplugin/awk.vim @ 18309:2047cb93eb0c v8.1.2149
patch 8.1.2149: crash when running out of memory very early
Commit: https://github.com/vim/vim/commit/e3a22cb1ba057381be3e645479a537f8032f119f
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Oct 14 22:01:57 2019 +0200
patch 8.1.2149: crash when running out of memory very early
Problem: Crash when running out of memory very early.
Solution: Do not use IObuff when it's NULL. (closes https://github.com/vim/vim/issues/5052)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 14 Oct 2019 22:15:03 +0200 |
parents | c391bfbdb452 |
children | a3bb84cd0f59 |
rev | line source |
---|---|
10895 | 1 " Vim filetype plugin |
2 " Language: awk, nawk, gawk, mawk | |
3 " Maintainer: Antonio Colombo <azc100@gmail.com> | |
4 " Last Change: 2017 Feb 17 | |
5 | |
6 " This plugin was prepared by Mark Sikora | |
7 | |
8 " Only do this when not done yet for this buffer | |
9 if exists("b:did_ftplugin") | |
10 finish | |
11 endif | |
12 | |
13 " Don't load another plugin for this buffer | |
14 let b:did_ftplugin = 1 | |
15 | |
16 let b:undo_ftplugin = "setl commentstring<" | |
17 | |
18 setlocal commentstring=#\ %s |