plugin/gerrvim.vim | 7 +++++++ diff --git a/plugin/gerrvim.vim b/plugin/gerrvim.vim index 481adc213cf4ae7ed70039599bb41d7716cce458..426e690a157e28b51a93abb41243cc2a00afa471 100644 --- a/plugin/gerrvim.vim +++ b/plugin/gerrvim.vim @@ -39,6 +39,13 @@ for bufline in getline(a:firstline, a:lastline) let ready = add(ready, bufline) endfor let ready = add(ready, "-----END-----") + " Place commented signs + sign define commented text=C texthl=Search + for linen in range(a:firstline, a:lastline) + let cmd = ":sign place " . linen . " line=" . linen + let cmd .= " name=commented buffer=" . bufnr(".") + execute cmd + endfor " Spawn a new small code commenting window nonbinded to file new GerrvimCommenting resize 16