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

Armin Grodon me at armingrodon.de
Tue Dec 13 00:08:49 UTC 2016


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


Best regards,
Armin


More information about the nginx-devel mailing list