Mercurial > vim
annotate runtime/ftplugin/m3build.vim @ 24561:f6049d3ab81c v8.2.2820
patch 8.2.2820: session file may divide by zero
Commit: https://github.com/vim/vim/commit/b6c2e9a010ebd7db586081957e634903d4972fa1
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Apr 30 21:37:51 2021 +0200
patch 8.2.2820: session file may divide by zero
Problem: Session file may divide by zero.
Solution: Avoid writing difide by zero. (closes https://github.com/vim/vim/issues/8162)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 30 Apr 2021 21:45:05 +0200 |
parents | 9f41bfdbc6fc |
children | d1fe80fb35e6 |
rev | line source |
---|---|
24468 | 1 " Vim filetype plugin file |
2 " Language: Modula-3 Makefile | |
3 " Maintainer: Doug Kearns <dougkearns@gmail.com> | |
4 " Last Change: 2021 April 15 | |
5 | |
6 if exists("b:did_ftplugin") | |
7 finish | |
8 endif | |
9 let b:did_ftplugin = 1 | |
10 | |
11 let s:cpo_save = &cpo | |
12 set cpo&vim | |
13 | |
14 runtime! ftplugin/m3quake.vim | |
15 | |
16 if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter") | |
17 let b:browsefilter = "Modula-3 Makefile (m3makefile m3overrides)\tm3makefile;m3overrides\n" .. | |
18 \ "All Files (*.*)\t*.*\n" | |
19 endif | |
20 | |
21 let &cpo = s:cpo_save | |
22 unlet s:cpo_save | |
23 | |
24 " vim: nowrap sw=2 sts=2 ts=8 noet: |