view runtime/ftplugin/dictconf.vim @ 30618:c2031ad5ed54 v9.0.0644

patch 9.0.0644: 'smoothscroll' is not copied to a new window on :split Commit: https://github.com/vim/vim/commit/b1fd26d208aadc96d3e8b9215f761150f40a9f91 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Oct 3 11:23:02 2022 +0100 patch 9.0.0644: 'smoothscroll' is not copied to a new window on :split Problem: 'smoothscroll' is not copied to a new window on :split. Solution: Copy the option value. Add a test.
author Bram Moolenaar <Bram@vim.org>
date Mon, 03 Oct 2022 12:30:11 +0200
parents 1218c5353e2b
children
line wrap: on
line source

" Vim filetype plugin file
" Language:             dict(1) configuration 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