view runtime/ftplugin/protocols.vim @ 29942:991bec040ce9 v9.0.0309

patch 9.0.0309: invalid memory access when cmdheight is zero Commit: https://github.com/vim/vim/commit/7a99da43d14671cc91a302bcfa34d37a35eaa28d Author: Bram Moolenaar <Bram@vim.org> Date: Sun Aug 28 22:21:01 2022 +0100 patch 9.0.0309: invalid memory access when cmdheight is zero Problem: Invalid memory access when cmdheight is zero. Solution: Check index in w_lines is smaller than Rows.
author Bram Moolenaar <Bram@vim.org>
date Sun, 28 Aug 2022 23:30:03 +0200
parents 1218c5353e2b
children
line wrap: on
line source

" Vim filetype plugin file
" Language:             protocols(5) - Internet protocols definition file
" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
" Latest Revision:      2008-07-09

if exists("b:did_ftplugin")
  finish
endif
let b:did_ftplugin = 1

let s:cpo_save = &cpo
set cpo&vim

let b:undo_ftplugin = "setl com< cms< fo<"

setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql

let &cpo = s:cpo_save
unlet s:cpo_save