mirror of
https://github.com/vim/vim.git
synced 2025-07-04 23:07:33 -04:00
runtime(terraform): Add filetype plugin for terraform
- Adds commentstring property for terraform - Adds comments property for terraform closes: #15144 Co-authored-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Janno Tjarks <janno.tjarks@mailbox.org> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
parent
3d2a996267
commit
2fbcc15cf9
1
.github/MAINTAINERS
vendored
1
.github/MAINTAINERS
vendored
@ -241,6 +241,7 @@ runtime/ftplugin/systemverilog.vim @Kocha
|
||||
runtime/ftplugin/swig.vim @jmarrec
|
||||
runtime/ftplugin/tap.vim @petdance
|
||||
runtime/ftplugin/tcsh.vim @dkearns
|
||||
runtime/ftplugin/terraform.vim @JannoTjarks
|
||||
runtime/ftplugin/tidy.vim @dkearns
|
||||
runtime/ftplugin/tmux.vim @ericpruitt
|
||||
runtime/ftplugin/toml.vim @averms
|
||||
|
14
runtime/ftplugin/terraform.vim
Normal file
14
runtime/ftplugin/terraform.vim
Normal file
@ -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<"
|
Loading…
x
Reference in New Issue
Block a user