view runtime/ftplugin/help.vim @ 22347:712bc35842aa v8.2.1722

patch 8.2.1722: Vim9: cannot assign a lambda to a variable of type function Commit: https://github.com/vim/vim/commit/dbd759309b4b6abea96b18d61770e100cf4264b5 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Sep 21 21:48:21 2020 +0200 patch 8.2.1722: Vim9: cannot assign a lambda to a variable of type function Problem: Vim9: cannot assign a lambda to a variable of type function. Solution: Allow for assigning a partial to a variable of type function. (Naruhiko Nishino, closes #6996)
author Bram Moolenaar <Bram@vim.org>
date Mon, 21 Sep 2020 22:00:03 +0200
parents 9d3d7b0f4861
children
line wrap: on
line source

" Vim filetype plugin file
" Language:             Vim help file
" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
" Latest Revision:      2018-12-29

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 fo< tw< cole< cocu< keywordprg<"

setlocal formatoptions+=tcroql textwidth=78 keywordprg=:help
if has("conceal")
  setlocal cole=2 cocu=nc
endif

let &cpo = s:cpo_save
unlet s:cpo_save