mirror of
https://github.com/preservim/nerdcommenter.git
synced 2025-11-13 12:13:47 -05:00
fix comments
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
" ============================================================================
|
" ============================================================================
|
||||||
" File: NERD_commenter.vim
|
" File: nerdcommenter.vim
|
||||||
" Description: vim global plugin that provides easy code commenting
|
" Description: vim global plugin that provides easy code commenting
|
||||||
" Author: Martin Grenfell <martin.grenfell at gmail dot com>
|
" Author: Martin Grenfell <martin.grenfell at gmail dot com>
|
||||||
" Maintainer: Caleb Maclennan <caleb@alerque.com>
|
" Maintainer: Caleb Maclennan <caleb@alerque.com>
|
||||||
@@ -2980,7 +2980,7 @@ endfunction
|
|||||||
" also define mappings and show a:combo in the menu items.
|
" also define mappings and show a:combo in the menu items.
|
||||||
function! s:CreateMaps(modes, target, desc, combo)
|
function! s:CreateMaps(modes, target, desc, combo)
|
||||||
" Build up a map command like
|
" Build up a map command like
|
||||||
" 'noremap <silent> <plug>NERDCommenterComment :call NERDComment("n", "Comment")'
|
" 'noremap <silent> <plug>NERDCommenterComment :call nerdcommenter#Comment("n", "Comment")'
|
||||||
let plug = '<plug>NERDCommenter' . a:target
|
let plug = '<plug>NERDCommenter' . a:target
|
||||||
let plug_start = 'noremap <silent> ' . plug . ' :call nerdcommenter#Comment("'
|
let plug_start = 'noremap <silent> ' . plug . ' :call nerdcommenter#Comment("'
|
||||||
let plug_end = '", "' . a:target . '")<cr>'
|
let plug_end = '", "' . a:target . '")<cr>'
|
||||||
|
|||||||
Reference in New Issue
Block a user