Update NERD_tree
git-svn-id: http://photonzero.com/dotfiles/trunk@71 23f722f6-122a-0410-8cef-c75bd312dd78
This commit is contained in:
parent
c47f86d55b
commit
63e16e3be6
8 changed files with 5614 additions and 3799 deletions
|
|
@ -3,7 +3,7 @@
|
|||
" Description: vim global plugin that provides easy code commenting
|
||||
" Maintainer: Martin Grenfell <martin_grenfell at msn dot com>
|
||||
" Version: 2.2.2
|
||||
" Last Change: 30th March, 2008
|
||||
" Last Change: 09th October, 2010
|
||||
" License: This program is free software. It comes without any warranty,
|
||||
" to the extent permitted by applicable law. You can redistribute
|
||||
" it and/or modify it under the terms of the Do What The Fuck You
|
||||
|
|
@ -702,7 +702,7 @@ function s:CommentLinesMinimal(firstLine, lastLine)
|
|||
"if we need to use place holders for the comment, make sure they are
|
||||
"enabled for this filetype
|
||||
if !g:NERDUsePlaceHolders && s:DoesBlockHaveMultipartDelim(a:firstLine, a:lastLine)
|
||||
throw 'NERDCommenter.Settings exception: Placeoholders are required but disabled.'
|
||||
throw 'NERDCommenter.Settings exception: Place holders are required but disabled.'
|
||||
endif
|
||||
|
||||
"get the left and right delims to smack on
|
||||
|
|
@ -976,7 +976,7 @@ function s:InvertComment(firstLine, lastLine)
|
|||
|
||||
"move to the line after last line of the sexy comment
|
||||
let numLinesAfterSexyComRemoved = s:NumLinesInBuf()
|
||||
let currentLine = bottomBound - (numLinesBeforeSexyComRemoved - numLinesAfterSexyComRemoved) + 1
|
||||
let currentLine = sexyComBounds[1] - (numLinesBeforeSexyComRemoved - numLinesAfterSexyComRemoved) + 1
|
||||
|
||||
" the line isnt commented
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue