Updated plugins

This commit is contained in:
Amir Salihefendic committed 2018-07-04 12:53:25 +02:00
1 parent 993ed55304
commit 2f164fee9b
70 files changed
+2044 -761

No files matched your search

@@ -225,10 +225,11 @@ endfunction
function! NERDTreeListNode()
let treenode = g:NERDTreeFileNode.GetSelected()
if !empty(treenode)
if has("osx")
let s:uname = system("uname")
let stat_cmd = 'stat -c "%s" '
if s:uname =~? "Darwin"
let stat_cmd = 'stat -f "%z" '
else
let stat_cmd = 'stat -c "%s" '
endif
let cmd = 'size=$(' . stat_cmd . shellescape(treenode.path.str()) . ') && ' .