mirror of
https://github.com/neovim/neovim.git
synced 2024-12-26 14:11:15 -07:00
229effac9f
* vim-patch:partial 6aa57295cfbe Update runtime files6aa57295cf
omit doc/popup.txt omit plugin/manpager.vim partial skip runtime/doc/eval.txt (needs 8.2.{0258,0924,1544,2324,2468,2606}) skip ftplugin/julia.vim, indent/julia.vim, syntax/julia.vim (already ported in65f32f0f19
) skip syntax/scala.vim (already ported ina92e83ac14
)
27 lines
577 B
VimL
27 lines
577 B
VimL
" 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
|