annotate runtime/ftplugof.vim @ 30045:8dd2c2db00d2
v9.0.0360
patch 9.0.0360: crash when invalid line number on :for is ignored
Commit: https://github.com/vim/vim/commit/35d21c6830fc2d68aca838424a0e786821c5891c
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Sep 2 16:47:16 2022 +0100
patch 9.0.0360: crash when invalid line number on :for is ignored
Problem: Crash when invalid line number on :for is ignored.
Solution: Do not check breakpoint for non-existing line.
author |
Bram Moolenaar <Bram@vim.org> |
date |
Fri, 02 Sep 2022 18:00:04 +0200 |
parents |
179c118424a6 |
children |
4027cefc2aab |
rev |
line source |
27623
|
1 vim9script
|
7
|
2
|
27623
|
3 # Vim support file to switch off loading plugins for file types
|
|
4 #
|
|
5 # Maintainer: Bram Moolenaar <Bram@vim.org>
|
|
6 # Last Change: 2022 Feb 09
|
|
7
|
|
8 if exists("g:did_load_ftplugin")
|
|
9 unlet g:did_load_ftplugin
|
7
|
10 endif
|
|
11
|
27623
|
12 # Remove all autocommands in the filetypeplugin group, if any exist.
|
3139
|
13 if exists("#filetypeplugin")
|
|
14 silent! au! filetypeplugin *
|
|
15 endif
|