view runtime/indoff.vim @ 31829:2a590b4a3fba v9.0.1247

patch 9.0.1247: divide by zero with 'smoothscroll' set and a narrow window Commit: https://github.com/vim/vim/commit/870219c58c0804bdc55419b2e455c06ac715a835 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 26 14:14:43 2023 +0000 patch 9.0.1247: divide by zero with 'smoothscroll' set and a narrow window Problem: Divide by zero with 'smoothscroll' set and a narrow window. Solution: Bail out when the window is too narrow.
author Bram Moolenaar <Bram@vim.org>
date Thu, 26 Jan 2023 15:15:06 +0100
parents 3fc0f57ecb91
children 4027cefc2aab
line wrap: on
line source

" Vim support file to switch off loading indent files for file types
"
" Maintainer:	Bram Moolenaar <Bram@vim.org>
" Last Change:	2001 Jun 11

if exists("did_indent_on")
  unlet did_indent_on
endif

" Remove all autocommands in the filetypeindent group
silent! au! filetypeindent *