Commit: runtime: Add license information for HCL and Terraform runtime files

3 views
Skip to first unread message

Christian Brabandt

unread,
May 25, 2025, 11:15:20 AM5/25/25
to vim...@googlegroups.com
runtime: Add license information for HCL and Terraform runtime files

Commit: https://github.com/vim/vim/commit/c8b7e6129a057fbcbff0d9e73dd8a476fd97a813
Author: Gregory Anders <gr...@gpanders.com>
Date: Sun May 25 17:01:45 2025 +0200

runtime: Add license information for HCL and Terraform runtime files

fixes: https://github.com/vim/vim/issues/17372
closes: https://github.com/vim/vim/issues/17377

Signed-off-by: Gregory Anders <gr...@gpanders.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/autoload/hcl.vim b/runtime/autoload/hcl.vim
index 2215fc8f2..e45a4e31b 100644
--- a/runtime/autoload/hcl.vim
+++ b/runtime/autoload/hcl.vim
@@ -2,6 +2,21 @@
" Maintainer: Gregory Anders
" Last Change: 2024-09-03
" Based on: https://github.com/hashivim/vim-terraform
+" License: ISC
+"
+" Copyright (c) 2014-2016 Mark Cornick <ma...@markcornick.com>
+"
+" Permission to use, copy, modify, and/or distribute this software for any purpose
+" with or without fee is hereby granted, provided that the above copyright notice
+" and this permission notice appear in all copies.
+"
+" THE SOFTWARE IS PROVIDED 'AS IS' AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
+" REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
+" FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
+" INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
+" OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
+" TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
+" THIS SOFTWARE.

function! hcl#indentexpr(lnum)
" Beginning of the file should have no indent
diff --git a/runtime/ftplugin/hcl.vim b/runtime/ftplugin/hcl.vim
index c47a0378d..57578c0e1 100644
--- a/runtime/ftplugin/hcl.vim
+++ b/runtime/ftplugin/hcl.vim
@@ -1,7 +1,7 @@
" Vim filetype plugin
-" Language: HCL
-" Maintainer: Gregory Anders
-" Last Change: 2024-09-03
+" Language: HCL
+" Maintainer: Gregory Anders
+" Last Change: 2024-09-03

if exists('b:did_ftplugin')
finish
diff --git a/runtime/indent/hcl.vim b/runtime/indent/hcl.vim
index b13d2c564..d6b8b1ad8 100644
--- a/runtime/indent/hcl.vim
+++ b/runtime/indent/hcl.vim
@@ -2,7 +2,22 @@
" Language: HCL
" Maintainer: Gregory Anders
" Upstream: https://github.com/hashivim/vim-terraform
+" License: ISC
" Last Change: 2024-09-03
+"
+" Copyright (c) 2014-2016 Mark Cornick <ma...@markcornick.com>
+"
+" Permission to use, copy, modify, and/or distribute this software for any purpose
+" with or without fee is hereby granted, provided that the above copyright notice
+" and this permission notice appear in all copies.
+"
+" THE SOFTWARE IS PROVIDED 'AS IS' AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
+" REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
+" FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
+" INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
+" OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
+" TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
+" THIS SOFTWARE.

if exists('b:did_indent')
finish
diff --git a/runtime/syntax/hcl.vim b/runtime/syntax/hcl.vim
index 5e9349ab3..fc1fc5ae3 100644
--- a/runtime/syntax/hcl.vim
+++ b/runtime/syntax/hcl.vim
@@ -3,6 +3,21 @@
" Maintainer: Gregory Anders
" Upstream: https://github.com/hashivim/vim-terraform
" Last Change: 2024-09-03
+" License: ISC
+"
+" Copyright (c) 2014-2016 Mark Cornick <ma...@markcornick.com>
+"
+" Permission to use, copy, modify, and/or distribute this software for any purpose
+" with or without fee is hereby granted, provided that the above copyright notice
+" and this permission notice appear in all copies.
+"
+" THE SOFTWARE IS PROVIDED 'AS IS' AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
+" REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
+" FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
+" INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
+" OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
+" TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
+" THIS SOFTWARE.

if exists('b:current_syntax')
finish
diff --git a/runtime/syntax/terraform.vim b/runtime/syntax/terraform.vim
index 559dc7956..1be5698d5 100644
--- a/runtime/syntax/terraform.vim
+++ b/runtime/syntax/terraform.vim
@@ -3,6 +3,21 @@
" Maintainer: Gregory Anders
" Upstream: https://github.com/hashivim/vim-terraform
" Last Change: 2024-09-03
+" License: ISC
+"
+" Copyright (c) 2014-2016 Mark Cornick <ma...@markcornick.com>
+"
+" Permission to use, copy, modify, and/or distribute this software for any purpose
+" with or without fee is hereby granted, provided that the above copyright notice
+" and this permission notice appear in all copies.
+"
+" THE SOFTWARE IS PROVIDED 'AS IS' AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
+" REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
+" FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
+" INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
+" OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
+" TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
+" THIS SOFTWARE.

if exists('b:current_syntax')
finish
Reply all
Reply to author
Forward
0 new messages