view runtime/ftplugin/slpconf.vim @ 19746:1da2fb80b512 v8.2.0429

patch 8.2.0429: no warning when test checks for option that never exists Commit: https://github.com/vim/vim/commit/c5a8fdc42dbd304598b2d73db754c7b97665b182 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Mar 22 20:13:39 2020 +0100 patch 8.2.0429: no warning when test checks for option that never exists Problem: No warning when test checks for option that never exists. Solution: In tests check that the option can exist.
author Bram Moolenaar <Bram@vim.org>
date Sun, 22 Mar 2020 20:15: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