summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorMax Gautier <mg@max.gautier.name>2023-08-09 17:18:36 +0200
committerGitHub <noreply@github.com>2023-08-09 17:18:36 +0200
commitb69b9d5e175351c9a25507139954f6211f37fdd9 (patch)
tree8c8d4571b12f493ee6f57f35e84d61ff4d0ddc2a /runtime
parent958e15bb1c7d582cdca324dc61a4daf5c01842bc (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 'runtime')
-rw-r--r--runtime/filetype.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index 6d2d55e3c7..4808a56d8e 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -2544,7 +2544,7 @@ au BufNewFile,BufRead *.yy,*.yxx,*.y++ setf yacc
au BufNewFile,BufRead *.y call dist#ft#FTy()
" Yaml
-au BufNewFile,BufRead *.yaml,*.yml setf yaml
+au BufNewFile,BufRead *.yaml,*.yml,*.eyaml setf yaml
" Raml
au BufNewFile,BufRead *.raml setf raml