Welcome! Log In Create A New Profile

Advanced

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

Armin Grodon
December 12, 2016 07:10PM
Hi,

this small path adds the correct comments for the widely used vim-plugin
'commentary.vim'.


# HG changeset patch
# User Armin Grodon <me@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
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

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

Armin Grodon 498 December 12, 2016 07:10PM

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

Maxim Dounin 267 December 13, 2016 03:42PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 176
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready