view runtime/ftplugin/scdoc.vim @ 26304:bb2175e5ccee

Update runtime files. Commit: https://github.com/vim/vim/commit/6304be625ce44dcfedc6735164d0b853578581c8 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Nov 27 10:57:26 2021 +0000 Update runtime files.
author Bram Moolenaar <Bram@vim.org>
date Sat, 27 Nov 2021 12:00:09 +0100
parents 29ec2c198c8d
children cd68a630f0d0
line wrap: on
line source

" scdoc filetype plugin
" Maintainer: Gregory Anders <greg@gpanders.com>
" Last Updated: 2021-08-04

" Only do this when not done yet for this buffer
if exists('b:did_ftplugin')
    finish
endif

" Don't load another plugin for this buffer
let b:did_ftplugin = 1

setlocal comments=b:;
setlocal commentstring=;%s
setlocal formatoptions+=t
setlocal noexpandtab
setlocal shiftwidth=0
setlocal softtabstop=0
setlocal textwidth=80

let b:undo_ftplugin = 'setl com< cms< fo< et< sw< sts< tw<'

if has('conceal')
    setlocal conceallevel=2
    let b:undo_ftplugin .= ' cole<'
endif