mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-09 03:43:50 -05:00
remove a couple of useless lines
This commit is contained in:
@@ -461,7 +461,6 @@ endfunction
|
|||||||
|
|
||||||
"FUNCTION: KeyMap.Create(options) {{{3
|
"FUNCTION: KeyMap.Create(options) {{{3
|
||||||
function! s:KeyMap.Create(options)
|
function! s:KeyMap.Create(options)
|
||||||
let newKeyMap = {}
|
|
||||||
let newKeyMap = copy(self)
|
let newKeyMap = copy(self)
|
||||||
let newKeyMap.key = a:options['key']
|
let newKeyMap.key = a:options['key']
|
||||||
let newKeyMap.quickhelpText = a:options['quickhelpText']
|
let newKeyMap.quickhelpText = a:options['quickhelpText']
|
||||||
@@ -1047,7 +1046,6 @@ function! s:TreeFileNode.New(path)
|
|||||||
if a:path.isDirectory
|
if a:path.isDirectory
|
||||||
return s:TreeDirNode.New(a:path)
|
return s:TreeDirNode.New(a:path)
|
||||||
else
|
else
|
||||||
let newTreeNode = {}
|
|
||||||
let newTreeNode = copy(self)
|
let newTreeNode = copy(self)
|
||||||
let newTreeNode.path = a:path
|
let newTreeNode.path = a:path
|
||||||
let newTreeNode.parent = {}
|
let newTreeNode.parent = {}
|
||||||
|
|||||||
Reference in New Issue
Block a user