fixed a serious commenter bug

This commit is contained in:
2018-04-15 13:33:36 +02:00
parent 82116a8c1a
commit dcfbdd871b
2 changed files with 5 additions and 1 deletions

View File

@@ -21,7 +21,7 @@ let s:block_map = {
function! MyCommenter(uncomment) range
let comment = get(s:comment_map, &ft, '')
if exists('g:custom_comment_map')
let comment = get(g:custom_comment_map, &ft, '')
let comment = get(g:custom_comment_map, &ft, comment)
endif
if !len(comment)
return