fix comments

This commit is contained in:
Andy Wokula
2016-12-18 17:37:07 +01:00
parent 032143ad23
commit cb8527ed3f

View File

@@ -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>'