diff options
author | Gaëtan Lehmann <gaetan.lehmann@gmail.com> | 2024-04-05 19:52:38 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-04-05 19:52:38 +0200 |
commit | 28e5e7c48483254604506dbce5eb61396ff65808 (patch) | |
tree | 8466aa28aaae1b1affee5ecc2f9c201c2d49adef /runtime/filetype.vim | |
parent | df46115fc839c8912ed60646e86a412e5180ba1d (diff) |
patch 9.1.0266: filetype: earthfile files are not recognizedv9.1.0266
Problem: filetype: earthfile files are not recognized
Solution: Detect 'Earthfile' as earthfile
(Gaëtan Lehmann)
closes: #14408
Signed-off-by: Gaëtan Lehmann <gaetan.lehmann@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r-- | runtime/filetype.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 81ce17415c..40b17a0ef4 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -665,6 +665,9 @@ au BufNewFile,BufRead *.dtd setf dtd " DTS/DSTI/DTSO (device tree files) au BufNewFile,BufRead *.dts,*.dtsi,*.dtso,*.its setf dts +" Earthfile +au BufNewFile,BufRead Earthfile setf earthfile + " EDIF (*.edf,*.edif,*.edn,*.edo) or edn au BufNewFile,BufRead *.ed\(f\|if\|o\) setf edif au BufNewFile,BufRead *.edn |