Browse Source

Merge pull request #150 from cperl82/issue-144

Replace virtcol() with len() in handleLeftClick().
master
Martin Grenfell 8 years ago
parent
commit
d62180d0ff
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      plugin/NERD_tree.vim

+ 1
- 1
plugin/NERD_tree.vim View File

@ -4134,7 +4134,7 @@ function! s:handleLeftClick()
"take the line substring manually
let line = split(getline(line(".")), '\zs')
let startToCur = ""
for i in range(0,virtcol(".")-1)
for i in range(0,len(line)-1)
let startToCur .= line[i]
endfor


Loading…
Cancel
Save