# HG changeset patch # User Ludovic Chabant # Date 1323789684 28800 # Node ID eab2680e68188dd1393bd646f5e37f5a060e4f52 # Parent 298261c939b3b8970422ea2ea242ccabfde3b8c9 Better fold sections. diff -r 298261c939b3 -r eab2680e6818 plugin/lawrencium.vim --- a/plugin/lawrencium.vim Mon Dec 12 16:37:39 2011 -0800 +++ b/plugin/lawrencium.vim Tue Dec 13 07:21:24 2011 -0800 @@ -187,7 +187,7 @@ " }}} -" Main Buffer Commands {{{ +" Buffer Commands Management {{{ " Store the commands for Lawrencium-enabled buffers so that we can add them in " batch when we need to. @@ -208,6 +208,10 @@ autocmd User Lawrencium call s:DefineMainCommands() augroup end +" }}} + +" Commands Auto-Complete {{{ + " Auto-complete function for commands that take repo-relative file paths. function! s:ListRepoFiles(ArgLead, CmdLine, CursorPos) abort let l:matches = s:hg_repo().Glob(a:ArgLead . '*', 1) @@ -222,6 +226,8 @@ return l:matches endfunction +" }}} + " Hg {{{ function! s:Hg(bang, ...) abort @@ -488,8 +494,6 @@ " }}} -" }}} - " Autoload Functions {{{ " Prints a summary of the current repo (if any) that's appropriate for