neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 8a338c0ccc1cf874cd21ca3be6695c253079bd9a
parent 0803ac7b085c75f55849949367b20a796b50b86e
Author: Christian Clason <c.clason@uni-graz.at>
Date:   Thu,  4 Jul 2024 11:54:37 +0200

vim-patch:2fbcc15: runtime(terraform): Add filetype plugin for terraform

- Adds commentstring property for terraform
- Adds comments property for terraform

closes: vim/vim#15144

https://github.com/vim/vim/commit/2fbcc15cf93e8eb07d769ce301a33e10560af468

Co-authored-by: Janno Tjarks <janno.tjarks@mailbox.org>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>

Diffstat:
Aruntime/ftplugin/terraform.vim | 14++++++++++++++
1 file changed, 14 insertions(+), 0 deletions(-)

diff --git a/runtime/ftplugin/terraform.vim b/runtime/ftplugin/terraform.vim @@ -0,0 +1,14 @@ +" Vim filetype plugin +" Language: terraform +" Maintainer: Janno Tjarks (janno.tjarks@mailbox.org) +" Last Change: 2024 Jul 3 + +if exists('b:did_ftplugin') + finish +endif +let b:did_ftplugin = 1 + +setlocal commentstring=#\ %s +setlocal comments=://,:# + +let b:undo_ftplugin = "setlocal commentstring< comments<"