annotate runtime/ftplugin/hostconf.vim @ 30940:5bc99d85f773 v9.0.0804

patch 9.0.0804: crash when trying to divide a number by -1 Commit: https://github.com/vim/vim/commit/cdef1cefa2a440911c727558562f83ed9b00e16b Author: Bram Moolenaar <Bram@vim.org> Date: Thu Oct 20 14:17:18 2022 +0100 patch 9.0.0804: crash when trying to divide a number by -1 Problem: Crash when trying to divice the largest negative number by -1. Solution: Handle this case specifically.
author Bram Moolenaar <Bram@vim.org>
date Thu, 20 Oct 2022 15:30:03 +0200
parents 1218c5353e2b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1621
82b5078be2dd updated for version 7.2a
vimboss
parents:
diff changeset
1 " Vim filetype plugin file
11062
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
2 " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
3 " Latest Revision: 2007-12-04
1621
82b5078be2dd updated for version 7.2a
vimboss
parents:
diff changeset
4
82b5078be2dd updated for version 7.2a
vimboss
parents:
diff changeset
5 if exists("b:did_ftplugin")
82b5078be2dd updated for version 7.2a
vimboss
parents:
diff changeset
6 finish
82b5078be2dd updated for version 7.2a
vimboss
parents:
diff changeset
7 endif
82b5078be2dd updated for version 7.2a
vimboss
parents:
diff changeset
8 let b:did_ftplugin = 1
82b5078be2dd updated for version 7.2a
vimboss
parents:
diff changeset
9
82b5078be2dd updated for version 7.2a
vimboss
parents:
diff changeset
10 let s:cpo_save = &cpo
82b5078be2dd updated for version 7.2a
vimboss
parents:
diff changeset
11 set cpo&vim
82b5078be2dd updated for version 7.2a
vimboss
parents:
diff changeset
12
82b5078be2dd updated for version 7.2a
vimboss
parents:
diff changeset
13 let b:undo_ftplugin = "setl com< cms< fo<"
82b5078be2dd updated for version 7.2a
vimboss
parents:
diff changeset
14
82b5078be2dd updated for version 7.2a
vimboss
parents:
diff changeset
15 setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql
82b5078be2dd updated for version 7.2a
vimboss
parents:
diff changeset
16
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 1621
diff changeset
17 let &cpo = s:cpo_save
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 1621
diff changeset
18 unlet s:cpo_save