Re: Smarty Syntax Highlighting File?

On Fri, 5 Aug 2011, Keith Roberts wrote:


So where is the location of the mystery default /root/.mc/cedit/Syntax file ??

OK - found it now.

The Syntax file is actually under:

[root karsites ~]# rpm -ql mc


But for some reason the error message gives the wrong path!

I have added those two lines to the /etc/mc/syntax/Syntax file:

    file ..\*\\.(tpl|TPL)$ Smarty\sTemplate\sFile
    include smarty.syntax

And I can now edit .php files AND Smarty .tpl files, both with the syntax highlighting working OK.

Got there in the end - LOL.

Kind Regards,

Keith Roberts


All email addresses are challenge-response protected with

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]