[nginx.vim][PATCH] add 'commentstring' for vim-commentary support

Maxim Dounin mdounin at mdounin.ru
Tue Dec 13 20:41:39 UTC 2016


Hello!

On Tue, Dec 13, 2016 at 01:08:49AM +0100, Armin Grodon wrote:

> Hi,
> 
> this small path adds the correct comments for the widely used vim-plugin
> 'commentary.vim'.
> 
> 
> # HG changeset patch
> # User Armin Grodon <me at armingrodon.de>
> # Date 1481586584 -3600
> #      Tue Dec 13 00:49:44 2016 +0100
> # Node ID 21d59bd866499df91c0b3d8a9d4d81457db32dd5
> # Parent  e02f1977846b18fadc3e30e2ca97d35eb788cbf9
> add 'commentstring' for vim-commentary support
> 
> diff -r e02f1977846b -r 21d59bd86649 contrib/vim/ftplugin/nginx.vim
> --- /dev/null   Thu Jan 01 00:00:00 1970 +0000
> +++ b/contrib/vim/ftplugin/nginx.vim    Tue Dec 13 00:49:44 2016 +0100
> @@ -0,0 +1,1 @@
> +setlocal commentstring=#\ %s

Committed with minor style changes to commit log, thanks.

-- 
Maxim Dounin
http://nginx.org/


More information about the nginx-devel mailing list