view runtime/ftplugin/slpconf.vim @ 26071:0bb9004c993b v8.2.3569

patch 8.2.3569: error for :let when vimrc is Vim 9 script Commit: https://github.com/vim/vim/commit/fd916d654d9731b3515abf7bc1ac12bd3632b601 Author: Christian Brabandt <cb@256bit.org> Date: Mon Nov 1 22:44:33 2021 +0000 patch 8.2.3569: error for :let when vimrc is Vim 9 script Problem: Error for :let when vimrc is Vim 9 script. Solution: Prepend :legacy in the code for converting arguments. (Christian Brabandt, closes #9068, closes #9077)
author Bram Moolenaar <Bram@vim.org>
date Mon, 01 Nov 2021 23:45:04 +0100
parents 1218c5353e2b
children
line wrap: on
line source

" Vim filetype plugin file
" Language:             RFC 2614 - An API for Service Location 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
setlocal formatoptions-=t formatoptions+=croql

let &cpo = s:cpo_save
unlet s:cpo_save