annotate runtime/ftplugof.vim @ 29265:9bc63b4f9c33
v8.2.5151
patch 8.2.5151: reading beyond the end of the line with lisp indenting
Commit: https://github.com/vim/vim/commit/8eba2bd291b347e3008aa9e565652d51ad638cfa
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jun 22 19:59:28 2022 +0100
patch 8.2.5151: reading beyond the end of the line with lisp indenting
Problem: Reading beyond the end of the line with lisp indenting.
Solution: Avoid going over the NUL at the end of the line.
author |
Bram Moolenaar <Bram@vim.org> |
date |
Wed, 22 Jun 2022 21:00:03 +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
|