From 40007efa1a367c7c35dc01ef9fb4ec4f1f8d39d0 Mon Sep 17 00:00:00 2001 From: Hoyon Mak Date: Sun, 3 Jan 2016 19:13:34 +0000 Subject: [PATCH] Add support for rust --- plugin/NERD_commenter.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/NERD_commenter.vim b/plugin/NERD_commenter.vim index 816a4d2..695dd61 100644 --- a/plugin/NERD_commenter.vim +++ b/plugin/NERD_commenter.vim @@ -317,6 +317,7 @@ let s:delimiterMap = { \ 'robots': { 'left': '#' }, \ 'rspec': { 'left': '#' }, \ 'ruby': { 'left': '#' }, + \ 'rust': { 'left': '//', 'leftAlt': '/*', 'rightAlt': '*/' }, \ 'sa': { 'left': '--' }, \ 'samba': { 'left': ';', 'leftAlt': '#' }, \ 'sass': { 'left': '//', 'leftAlt': '/*' },