[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#59894: [PATCH] Add dockerfile-ts-mode
From: |
Randy Taylor |
Subject: |
bug#59894: [PATCH] Add dockerfile-ts-mode |
Date: |
Fri, 09 Dec 2022 20:51:30 +0000 |
On Friday, December 9th, 2022 at 04:52, Michael Albinus
<michael.albinus@gmx.de> wrote:
>
> Randy Taylor dev@rjt.dev writes:
>
>
> Hi Randy,
>
> > New attached patched addressing the following:
> > - Added dockerfile-ts-mode to auto-mode-alist (perhaps a regex guru could
> > squeeze it into one, I spent more time trying than I liked to no avail).
>
>
> (rx (| (: "Dockerfile" (? "." (* nonl))) (: "." (any "dD") "ockerfile")) eol)
>
> Best regards, Michael.
Thank you, Michael! It works perfectly - I should've thought about using rx.
I've attached a new patch with Michael's suggestion and also fixed the
copyright notice per Stefan's recent changes to similar modes.
0001-Add-dockerfile-ts-mode-Bug-59894.patch
Description: Text Data