"=============================================================================
" File : autoload/unite/sources/outline/defaults/pir.vim
" Author : h1mesuke <himesuke@gmail.com>
" Updated : 2012-01-11
"
" Licensed under the MIT license:
" http://www.opensource.org/licenses/mit-license.php
"
"=============================================================================
" Default outline info for PIR
" Version: 0.0.3 (draft)
function! unite#sources#outline#defaults#pir#outline_info() abort
return s:outline_info
endfunction
let s:Util = unite#sources#outline#import('Util')
"-----------------------------------------------------------------------------
" Outline Info
let s:outline_info = {
\ 'heading-1': s:Util.shared_pattern('sh', 'heading-1'),
\ 'heading' : '^\.sub\>',
\
\ 'skip': {
\ 'header': s:Util.shared_pattern('sh', 'header'),
\ 'block' : ['^=\%(cut\)\@!\w\+', '^=cut'],
\ },
\}