Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
unite-outline の changelog 向け
"=============================================================================
" FILE: changelog.vim
" Last Modified: 2010-11-21
"
" Licensed under the MIT license:
" http://www.opensource.org/licenses/mit-license.php
"
"=============================================================================
function! unite#sources#outline#changelog#outline_info()
return s:outline_info
endfunction
let s:outline_info = {
\ 'heading': '^\s\+\*.\+',
\ }
function! s:outline_info.create_heading(which, heading_line, matched_line, context)
return substitute(a:heading_line, '\s\+\*\s*', '', '')
endfunction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.