Mercurial > vim
changeset 32172:7c131fe0b473 v9.0.1417
patch 9.0.1417: ESDL files are not recognized
Commit: https://github.com/vim/vim/commit/a1fa8b3ac2f7b54c7901ad3eb0ba8b8290912509
Author: Amaan Qureshi <amaanq12@gmail.com>
Date: Sun Mar 19 21:57:07 2023 +0000
patch 9.0.1417: ESDL files are not recognized
Problem: ESDL files are not recognized.
Solution: Add a pattern for ESDL files. (Amaan Qureshi, closes https://github.com/vim/vim/issues/12174)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 19 Mar 2023 23:00:04 +0100 |
parents | 9cbd3bf773ab |
children | 1d3bf14313b6 |
files | runtime/filetype.vim src/testdir/test_filetype.vim src/version.c |
diffstat | 3 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -653,6 +653,9 @@ au BufNewFile,BufRead filter-rules setf " Elsa - https://github.com/ucsd-progsys/elsa au BufNewFile,BufRead *.lc setf elsa +" EdgeDB Schema Definition Language +au BufNewFile,BufRead *.esdl setf esdl + " ESMTP rc file au BufNewFile,BufRead *esmtprc setf esmtprc
--- a/src/testdir/test_filetype.vim +++ b/src/testdir/test_filetype.vim @@ -190,6 +190,7 @@ let s:filename_checks = { \ 'epuppet': ['file.epp'], \ 'erlang': ['file.erl', 'file.hrl', 'file.yaws'], \ 'eruby': ['file.erb', 'file.rhtml'], + \ 'esdl': ['file.esdl'], \ 'esmtprc': ['anyesmtprc', 'esmtprc', 'some-esmtprc'], \ 'esqlc': ['file.ec', 'file.EC'], \ 'esterel': ['file.strl'],