commit 6ef3213cd008d260b8c6b24f6ed26e95493d8ab2
parent a053925279b2b7a060a7714a7d98a8c5576878bf
Author: Phil Runninger (mac) <prunninger@vhtcx.com>
Date: Mon, 2 Jul 2018 08:55:32 -0400
Fix indentation.
Diffstat:
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/lib/nerdtree/path.vim b/lib/nerdtree/path.vim
@@ -392,18 +392,18 @@ endfunction
" FUNCTION: Path.getSortKey() {{{1
" returns a key used in compare function for sorting
function! s:Path.getSortKey()
- let path = self.getLastPathComponent(1)
- if !g:NERDTreeSortHiddenFirst
- let path = substitute(path, '^[._]', '', '')
- endif
- if !g:NERDTreeCaseSensitiveSort
- let path = tolower(path)
- endif
- if !g:NERDTreeNaturalSort
- let self._sortKey = [self.getSortOrderIndex(), path]
- else
- let self._sortKey = [self.getSortOrderIndex()] + self._splitChunks(path)
- endif
+ let path = self.getLastPathComponent(1)
+ if !g:NERDTreeSortHiddenFirst
+ let path = substitute(path, '^[._]', '', '')
+ endif
+ if !g:NERDTreeCaseSensitiveSort
+ let path = tolower(path)
+ endif
+ if !g:NERDTreeNaturalSort
+ let self._sortKey = [self.getSortOrderIndex(), path]
+ else
+ let self._sortKey = [self.getSortOrderIndex()] + self._splitChunks(path)
+ endif
return self._sortKey
endfunction