From c51f5992b256e4a5ec0daff8c4ca2c0b01964a0e Mon Sep 17 00:00:00 2001 From: Aluriak Date: Sat, 10 Sep 2016 01:20:29 +0200 Subject: [PATCH 1/5] add support for turtle (.ttl) files --- plugin/NERD_commenter.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/NERD_commenter.vim b/plugin/NERD_commenter.vim index 8b8c297..c8f8970 100644 --- a/plugin/NERD_commenter.vim +++ b/plugin/NERD_commenter.vim @@ -422,6 +422,7 @@ let s:delimiterMap = { \ 'tsalt': { 'left': '//', 'leftAlt': '/*', 'rightAlt': '*/' }, \ 'tsscl': { 'left': '#' }, \ 'tssgm': { 'left': "comment = '", 'right': "'" }, + \ 'ttl': { 'left': '#' }, \ 'tup': { 'left': '#' }, \ 'twig': { 'left': '{#', 'right': '#}' }, \ 'txt2tags': { 'left': '%' }, From c321b3460bc8b6172ef0c5045d8f862c8cb9f2d1 Mon Sep 17 00:00:00 2001 From: Komeji Koishi Date: Thu, 5 Jan 2017 16:33:29 +0400 Subject: [PATCH 2/5] Added filetype 'renpy' support. Renpy is an extension of python syntax and it uses '#' comments. --- plugin/NERD_commenter.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/NERD_commenter.vim b/plugin/NERD_commenter.vim index e8e1af9..0607ae5 100644 --- a/plugin/NERD_commenter.vim +++ b/plugin/NERD_commenter.vim @@ -349,6 +349,7 @@ let s:delimiterMap = { \ 'rebol': { 'left': ';' }, \ 'registry': { 'left': ';' }, \ 'remind': { 'left': '#' }, + \ 'renpy': { 'left': '# ', 'leftAlt': '#' }, \ 'resolv': { 'left': '#' }, \ 'rgb': { 'left': '!' }, \ 'rib': { 'left': '#' }, From d4548ebb0cd10f80b417e0129d0325da26c1c567 Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Tue, 7 Nov 2017 10:11:26 +0300 Subject: [PATCH 3/5] Fix implementation of renpy to not include python hack --- plugin/NERD_commenter.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/NERD_commenter.vim b/plugin/NERD_commenter.vim index 0607ae5..d81c830 100644 --- a/plugin/NERD_commenter.vim +++ b/plugin/NERD_commenter.vim @@ -349,7 +349,7 @@ let s:delimiterMap = { \ 'rebol': { 'left': ';' }, \ 'registry': { 'left': ';' }, \ 'remind': { 'left': '#' }, - \ 'renpy': { 'left': '# ', 'leftAlt': '#' }, + \ 'renpy': { 'left': '# ' }, \ 'resolv': { 'left': '#' }, \ 'rgb': { 'left': '!' }, \ 'rib': { 'left': '#' }, From 3e99b39f4fbbb90f97d7de390d9bfe9cdf2208b3 Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Tue, 7 Nov 2017 10:37:56 +0300 Subject: [PATCH 4/5] Add sshconfig filetype to complement sshdconfig Mentioned in #313 --- plugin/NERD_commenter.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/NERD_commenter.vim b/plugin/NERD_commenter.vim index 09c8444..3d9cf63 100644 --- a/plugin/NERD_commenter.vim +++ b/plugin/NERD_commenter.vim @@ -408,6 +408,7 @@ let s:delimiterMap = { \ 'sqr': { 'left': '!' }, \ 'squid': { 'left': '#' }, \ 'ss': { 'left': ';', 'leftAlt': '#|', 'rightAlt': '|#' }, + \ 'sshconfig': { 'left': '#' }, \ 'sshdconfig': { 'left': '#' }, \ 'st': { 'left': '"' }, \ 'stan': { 'left': '//', 'leftAlt': '/*', 'rightAlt': '*/' }, From fd61bc71f64c8accf86f06c633fd19b205efa85b Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Tue, 7 Nov 2017 10:46:22 +0300 Subject: [PATCH 5/5] Udate version and date strings --- plugin/NERD_commenter.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/NERD_commenter.vim b/plugin/NERD_commenter.vim index 3d9cf63..fb8a9df 100644 --- a/plugin/NERD_commenter.vim +++ b/plugin/NERD_commenter.vim @@ -3,8 +3,8 @@ " Description: vim global plugin that provides easy code commenting " Author: Martin Grenfell " Maintainer: Caleb Maclennan -" Version: 2.4.0 -" Last Change: Tue May 24 14:03:29 EEST 2016 +" Version: 2.5.1 +" Last Change: Tue Nov 7 10:45:53 +03 2017 " License: This program is free software. It comes without any warranty, " to the extent permitted by applicable law. You can redistribute " it and/or modify it under the terms of the Do What The Fuck You