Mercurial > vim-lawrencium
comparison autoload/lawrencium/hg.vim @ 140:652a6f5df0f3
Fixed for broken things after the reorganization.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Mon, 13 Jun 2016 21:55:40 -0700 |
parents | 065625e1bb31 |
children | b5ce60d1e6b4 |
comparison
equal
deleted
inserted
replaced
139:065625e1bb31 | 140:652a6f5df0f3 |
---|---|
48 else | 48 else |
49 call lawrencium#error("Can't find the Mercurial usage file. Auto-completion will be disabled in Lawrencium.") | 49 call lawrencium#error("Can't find the Mercurial usage file. Auto-completion will be disabled in Lawrencium.") |
50 endif | 50 endif |
51 | 51 |
52 " Include the command file type mappings. | 52 " Include the command file type mappings. |
53 let s:file_type_mappings = expand("<sfile>:h:h") . '/resources/hg_command_file_types.vim' | 53 let s:file_type_mappings = expand("<sfile>:h:h:h") . '/resources/hg_command_file_types.vim' |
54 if filereadable(s:file_type_mappings) | 54 if filereadable(s:file_type_mappings) |
55 execute "source " . fnameescape(s:file_type_mappings) | 55 execute "source " . fnameescape(s:file_type_mappings) |
56 endif | 56 endif |
57 | 57 |
58 function! lawrencium#hg#CompleteHg(ArgLead, CmdLine, CursorPos) | 58 function! lawrencium#hg#CompleteHg(ArgLead, CmdLine, CursorPos) |