mirror of
https://github.com/preservim/nerdcommenter.git
synced 2025-11-08 18:03:46 -05:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4f05d713b4 | ||
|
|
59735a2904 |
@@ -860,6 +860,10 @@ to get illegal syntax when uncommenting them.
|
|||||||
==============================================================================
|
==============================================================================
|
||||||
8. Changelog *NERDComChangelog*
|
8. Changelog *NERDComChangelog*
|
||||||
|
|
||||||
|
2.1.11
|
||||||
|
- fixed a bug with the selection option and visual commenting (again).
|
||||||
|
Thanks to Ingo Karkat (again).
|
||||||
|
|
||||||
2.1.10
|
2.1.10
|
||||||
- added support for Wikipedia (thanks to Chen Xing)
|
- added support for Wikipedia (thanks to Chen Xing)
|
||||||
- added support for mplayerconf
|
- added support for mplayerconf
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
" vim global plugin that provides easy code commenting for various file types
|
" vim global plugin that provides easy code commenting for various file types
|
||||||
" Last Change: 22 Feb 2008
|
" Last Change: 24 Feb 2008
|
||||||
" Maintainer: Martin Grenfell <martin_grenfell at msn.com>
|
" Maintainer: Martin Grenfell <martin_grenfell at msn.com>
|
||||||
let s:NERD_commenter_version = 2.1.10
|
let s:NERD_commenter_version = 2.1.11
|
||||||
|
|
||||||
" For help documentation type :help NERDCommenter. If this fails, Restart vim
|
" For help documentation type :help NERDCommenter. If this fails, Restart vim
|
||||||
" and try again. If it sill doesnt work... the help page is at the bottom
|
" and try again. If it sill doesnt work... the help page is at the bottom
|
||||||
@@ -1453,7 +1453,7 @@ function! NERDComment(isVisual, type) range
|
|||||||
let firstLine = line("'<")
|
let firstLine = line("'<")
|
||||||
let lastLine = line("'>")
|
let lastLine = line("'>")
|
||||||
let firstCol = col("'<")
|
let firstCol = col("'<")
|
||||||
let lastCol = col("'>") - (&selection == 'exclusive' && has("gui_running") ? 1 : 0)
|
let lastCol = col("'>") - (&selection == 'exclusive' ? 1 : 0)
|
||||||
else
|
else
|
||||||
let firstLine = a:firstline
|
let firstLine = a:firstline
|
||||||
let lastLine = a:lastline
|
let lastLine = a:lastline
|
||||||
|
|||||||
Reference in New Issue
Block a user