facf0c92e0
Red Bear OS is a full fork. All sources must be available from git clone with zero network access. Removed gitignore rules that excluded fetched source trees under recipes/*/source/, local/recipes/kde/*/source/, local/recipes/qt/*/source/, and vendor source trees. Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded. 127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt frameworks, mesa, wayland, DRM drivers, and every other recipe source.
30 lines
647 B
VimL
30 lines
647 B
VimL
" ztst filetype plugin
|
|
|
|
" Only do this when not done yet for this buffer
|
|
if exists("b:did_ftplugin")
|
|
finish
|
|
endif
|
|
|
|
let s:cpo_save = &cpo
|
|
set cpo&vim
|
|
|
|
" Inherit zsh.vim
|
|
runtime! ftplugin/zsh.vim
|
|
|
|
let b:undo_ftplugin .= "| setl fo< comments< commentstring<"
|
|
|
|
" Set 'formatoptions' to break comment lines but not other lines,
|
|
" and insert the comment leader when hitting <CR> or using "o".
|
|
setlocal fo-=t fo+=croql
|
|
|
|
" Set 'comments' to format expected output/errput lines
|
|
setlocal comments+=:*>,:>,:*?,:?,:F:
|
|
|
|
" Format comments to be up to 78 characters long
|
|
if &textwidth == 0
|
|
setlocal textwidth=78
|
|
endif
|
|
|
|
let &cpo = s:cpo_save
|
|
unlet s:cpo_save
|