From ef692d5a91b321a9b48c9acf025b2338261ea5e5 Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Tue, 24 May 2016 10:48:03 +0300 Subject: [PATCH] Update Rust filetype with alternate comment delimiters Closes #206 --- 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 2a5c9a5..0c55f80 100644 --- a/plugin/NERD_commenter.vim +++ b/plugin/NERD_commenter.vim @@ -341,7 +341,7 @@ let s:delimiterMap = { \ 'robots': { 'left': '#' }, \ 'rspec': { 'left': '#' }, \ 'ruby': { 'left': '#' }, - \ 'rust': { 'left': '//', 'leftAlt': '/*', 'rightAlt': '*/' }, + \ 'rust': { 'left': '//', 'leftAlt': '///', 'rightAlt': '///' }, \ 'sa': { 'left': '--' }, \ 'samba': { 'left': ';', 'leftAlt': '#' }, \ 'sass': { 'left': '//', 'leftAlt': '/*' },