Skip to content

Commit 73f9744

Browse files
committed
Bug fix: Rename xolox#open -> xolox#misc#open (reported by Tim Dahlin)
1 parent d0e682a commit 73f9744

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ This software is licensed under the [MIT license](http://en.wikipedia.org/wiki/M
9797

9898
[ctags]: http://en.wikipedia.org/wiki/Ctags
9999
[dll]: http://en.wikipedia.org/wiki/Dynamic-link_library
100-
[download]: http://peterodding.com/code/vim/downloads/shell
100+
[download]: http://peterodding.com/code/vim/downloads/shell.zip
101101
[easytags]: http://peterodding.com/code/vim/easytags/
102102
[gui]: http://vimdoc.sourceforge.net/htmldoc/gui.html#GUI
103103
[libcall]: http://vimdoc.sourceforge.net/htmldoc/eval.html#libcall()

autoload/xolox/shell.vim

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ function! xolox#shell#open_cmd(arg) " -- implementation of the :Open command {{{
1414
try
1515
if a:arg !~ '\S'
1616
if !s:open_at_cursor()
17-
call xolox#open#file(expand('%:p:h'))
17+
call xolox#misc#open#file(expand('%:p:h'))
1818
endif
1919
elseif a:arg =~ g:shell_patt_url || a:arg =~ g:shell_patt_mail
20-
call xolox#open#url(a:arg)
20+
call xolox#misc#open#url(a:arg)
2121
else
2222
let arg = fnamemodify(a:arg, ':p')
2323
if isdirectory(arg) || filereadable(arg)
24-
call xolox#open#file(arg)
24+
call xolox#misc#open#file(arg)
2525
else
2626
let msg = "%s: I don't know how to open %s!"
2727
echoerr printf(msg, s:script, string(a:arg))
@@ -43,7 +43,7 @@ function! s:open_at_cursor()
4343
let match = matchstr(cWORD, g:shell_patt_mail)
4444
endif
4545
if match != ''
46-
call xolox#open#url(match)
46+
call xolox#misc#open#url(match)
4747
return 1
4848
else
4949
" As a last resort try to match a filename at the text cursor position.
@@ -56,7 +56,7 @@ function! s:open_at_cursor()
5656
let match = split(expand(match), "\n")[0]
5757
endif
5858
if match != '' && (isdirectory(match) || filereadable(match))
59-
call xolox#open#file(match)
59+
call xolox#misc#open#file(match)
6060
return 1
6161
endif
6262
endif

doc/shell.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ References ~
206206
[2] http://peterodding.com/code/vim/open-associated-programs/
207207
[3] http://peterodding.com/code/vim/easytags/
208208
[4] http://en.wikipedia.org/wiki/Dynamic-link_library
209-
[5] http://peterodding.com/code/vim/downloads/shell
209+
[5] http://peterodding.com/code/vim/downloads/shell.zip
210210
[6] http://en.wikipedia.org/wiki/Taskbar
211211
[7] http://en.wikipedia.org/wiki/Ctags
212212
[8] http://www.vim.org/scripts/script.php?script_id=3123

plugin/shell.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
" Last Change: June 17, 2011
44
" URL: http://peterodding.com/code/vim/shell/
55
" License: MIT
6-
" Version: 0.9.5
6+
" Version: 0.9.6
77

88
" Support for automatic update using the GLVS plug-in.
99
" GetLatestVimScripts: 3123 1 :AutoInstall: shell.zip

0 commit comments

Comments
 (0)