tpope / vim-commentary

commentary.vim: comment stuff out
http://www.vim.org/scripts/script.php?script_id=3695
5.9k stars 214 forks source link

Any special comment shortcuts for python like #NOQA and etc? #88

Closed eduOS closed 7 years ago

eduOS commented 7 years ago

For example I sometimes need some comments like # pylint: disable=not-callable or just # NOQA appending to the line to prevent showing the alert, possible to integrate?

tpope commented 7 years ago

You can maybe fiddle with 'commentstring' or b:commentary_format to achieve the results you want.

eduOS commented 7 years ago

OK, thanks.