diff options
author | Max Gautier <mg@max.gautier.name> | 2023-08-09 17:18:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-09 17:18:36 +0200 |
commit | b69b9d5e175351c9a25507139954f6211f37fdd9 (patch) | |
tree | 8c8d4571b12f493ee6f57f35e84d61ff4d0ddc2a /src | |
parent | 958e15bb1c7d582cdca324dc61a4daf5c01842bc (diff) |
Add filetype detection for eyaml files (#12659)
https://github.com/voxpupuli/hiera-eyaml/ uses and produces the eyaml
format, which is simply yaml with some encrypted values.
It's convenient to edit the file without decrypting when not touching
encrypted values (or when you don't have access to the decryption key),
which is why vim should treat those files as yaml files.
Diffstat (limited to 'src')
-rw-r--r-- | src/testdir/test_filetype.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim index a044b62926..7125360da1 100644 --- a/src/testdir/test_filetype.vim +++ b/src/testdir/test_filetype.vim @@ -799,7 +799,7 @@ def s:GetFilenameChecks(): dict<list<string>> xsd: ['file.xsd'], xslt: ['file.xsl', 'file.xslt'], yacc: ['file.yy', 'file.yxx', 'file.y++'], - yaml: ['file.yaml', 'file.yml', '.clangd', '.clang-format', '.clang-tidy'], + yaml: ['file.yaml', 'file.yml', 'file.eyaml', '.clangd', '.clang-format', '.clang-tidy'], yang: ['file.yang'], yuck: ['file.yuck'], z8a: ['file.z8a'], |