Mercurial > vim-lawrencium
changeset 14:eab2680e6818
Better fold sections.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 13 Dec 2011 07:21:24 -0800 |
parents | 298261c939b3 |
children | f02e37f395ae |
files | plugin/lawrencium.vim |
diffstat | 1 files changed, 7 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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