nvim-nim/autoload/unite/sources/outline/nim.vim
baabelfish 464532e034 Fixes
2016-02-11 09:37:12 +02:00

14 lines
366 B
VimL

let s:Tree = unite#sources#outline#import('Tree')
let s:OutlineInfo = {
\ 'auto-update': 0}
function! unite#sources#outline#nim#outline_info()
return s:OutlineInfo
endfunction
function! s:OutlineInfo.extract_headings(context)
let root = s:Tree.new()
call s:Tree.append_child(root, {})
return root
endfunction