From 92de964f61a4a4762deb1c8aead2b9c1a66ea5f0 Mon Sep 17 00:00:00 2001 From: Chris Linstid Date: Mon, 14 Dec 2015 15:11:46 -0500 Subject: [PATCH] Add support for terraform files Terraform files are used to define different resources. Single line comments use a '#' and multi-line comments use '/* ... */'. For more information, see https://terraform.io/docs/configuration/syntax.html. --- plugin/NERD_commenter.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/NERD_commenter.vim b/plugin/NERD_commenter.vim index 816a4d2..c258146 100644 --- a/plugin/NERD_commenter.vim +++ b/plugin/NERD_commenter.vim @@ -366,6 +366,7 @@ let s:delimiterMap = { \ 'tak': { 'left': '$' }, \ 'tasm': { 'left': ';' }, \ 'tcl': { 'left': '#' }, + \ 'terraform': { 'left': '#', 'leftAlt': '/*', 'rightAlt': '*/' }, \ 'texinfo': { 'left': "@c " }, \ 'texmf': { 'left': '%' }, \ 'tf': { 'left': ';' },