[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Artanis] Artanis .tpl File Support Added to Emacs's Web-Mode
From: |
Nala Ginrut |
Subject: |
Re: [Artanis] Artanis .tpl File Support Added to Emacs's Web-Mode |
Date: |
Sat, 20 Apr 2019 11:27:27 +0800 |
User-agent: |
mu4e 1.0; emacs 25.1.1 |
Hi Jonathan!
I appreciate all your work!
Thank you very much!
Best regards.
Jonathan Schmeling writes:
> Just a heads up for any Emacs users on this mailing list who might be
> interested, a pull-request I submitted just got recently merged
> (https://github.com/fxbois/web-mode/pull/1038) that adds recognition of the
> constructs in an Artanis .tpl file.
>
> Simply add (add-to-list 'auto-mode-alist '("\\.tpl\\'" . web-mode)) (or
> "\\.html\\.tpl\\'", if you want to be more specific since I know, for
> example, PHP template files use ".tpl.php") to your init. file to have
> web-mode get started when those files are opened and web-mode'll immediately
> recognize the file as an Artanis file.
>
> The <%, <%=, <@css, <@js, <@icon, and <@include tags should all get
> recognized, Guile comment syntax should get used if M-; is used on any of
> those tags, font-lock highlighting for Guile macros is present, and snippets
> have been added to automatically generate skeleton code for case, cond, do,
> for-each, if, let, let*, unless, and when.
>
> Along with all the other usual features afforded by web-mode for
> HTML/CSS/JavaScript.
>
> Jonathan
--
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
Fingerprint F53B 4C56 95B5 E4D5 6093 4324 8469 6772 846A 0058
signature.asc
Description: PGP signature