mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-09 11:53:48 -05:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
89a1a4355b |
@@ -1,6 +1,7 @@
|
|||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
#### 5.2...
|
#### 5.2...
|
||||||
|
- **.4**: When searching for root line num, stop at end of file. (PhilRunninger) #1015
|
||||||
- **.3**: Fix `<CR>` key map on the bookmark (lkebin) #1014
|
- **.3**: Fix `<CR>` key map on the bookmark (lkebin) #1014
|
||||||
- **.2**: Make Enter work on the `.. ( up a dir )` line (PhilRunninger) #1013
|
- **.2**: Make Enter work on the `.. ( up a dir )` line (PhilRunninger) #1013
|
||||||
- **.1**: Fix nerdtree#version() on Windows. (PhilRunninger) N/A
|
- **.1**: Fix nerdtree#version() on Windows. (PhilRunninger) N/A
|
||||||
|
|||||||
@@ -254,7 +254,7 @@ endfunction
|
|||||||
" gets the line number of the root node
|
" gets the line number of the root node
|
||||||
function! s:UI.getRootLineNum()
|
function! s:UI.getRootLineNum()
|
||||||
let rootLine = 1
|
let rootLine = 1
|
||||||
while getline(rootLine) !~# '^\(/\|<\)'
|
while rootLine <= line('$') && getline(rootLine) !~# '^\(/\|<\)'
|
||||||
let rootLine = rootLine + 1
|
let rootLine = rootLine + 1
|
||||||
endwhile
|
endwhile
|
||||||
return rootLine
|
return rootLine
|
||||||
|
|||||||
Reference in New Issue
Block a user