mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-09 03:43:50 -05:00
Edit the commentary in "opener.vim"
This commit doesn't change the content of any comments. It just changes their appearance (leading quotes are now followed by a space).
This commit is contained in:
@@ -1,5 +1,10 @@
|
|||||||
|
" ============================================================================
|
||||||
" CLASS: Opener
|
" CLASS: Opener
|
||||||
"============================================================
|
"
|
||||||
|
" The Opener class defines an API for "opening" operations.
|
||||||
|
" ============================================================================
|
||||||
|
|
||||||
|
|
||||||
let s:Opener = {}
|
let s:Opener = {}
|
||||||
let g:NERDTreeOpener = s:Opener
|
let g:NERDTreeOpener = s:Opener
|
||||||
|
|
||||||
@@ -26,6 +31,7 @@ function! s:Opener._bufInWindows(bnum)
|
|||||||
|
|
||||||
return cnt
|
return cnt
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
" FUNCTION: Opener._checkToCloseTree(newtab) {{{1
|
" FUNCTION: Opener._checkToCloseTree(newtab) {{{1
|
||||||
" Check the class options and global options (i.e. NERDTreeQuitOnOpen) to see
|
" Check the class options and global options (i.e. NERDTreeQuitOnOpen) to see
|
||||||
" if the tree should be closed now.
|
" if the tree should be closed now.
|
||||||
@@ -44,7 +50,6 @@ function! s:Opener._checkToCloseTree(newtab)
|
|||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|
||||||
" FUNCTION: s:Opener._firstUsableWindow() {{{1
|
" FUNCTION: s:Opener._firstUsableWindow() {{{1
|
||||||
" find the window number of the first normal window
|
" find the window number of the first normal window
|
||||||
function! s:Opener._firstUsableWindow()
|
function! s:Opener._firstUsableWindow()
|
||||||
|
|||||||
Reference in New Issue
Block a user