refactor the Path#str* methods

This commit is contained in:
marty
2009-09-01 17:15:48 +12:00
parent 8fc72fd352
commit 0dda0ce5d7
4 changed files with 78 additions and 63 deletions

View File

@@ -30,7 +30,7 @@ function! NERDTreeExecFile()
let treenode = g:NERDTreeFileNode.GetSelected()
echo "==========================================================\n"
echo "Complete the command to execute (add arguments etc):\n"
let cmd = treenode.path.strForOS(1)
let cmd = treenode.path.str({'format': 'OS', 'escape': 1})
let cmd = input(':!', cmd . ' ')
if cmd != ''