Op 31-07-19 om 10:58 schreef Bardot Jérôme:
> The first i have in mind are .ctp files from cakephp (which are php
> files)

So, basically you're asking that the PHP syntax should also be
activated when a filename has a .ctp extension?

> but also for twig files.

What are twig files?  ...  I'm guessing you are referring to:
  https://en.wikipedia.org/wiki/Twig_(template_engine)

You will have to enumerate exactly which filename extensions you
wish to be recognized as PHP files, because I have zero knowledge
of the PHP ecosystem.

> (if i remember well cuda/(opencl maybe) 
> is missing in c/c++ file )

Sorry, I don't understand what you mean here.

> Not include certain just broke others (sometimes).

I cannot parse this.

> I currently have to manage several server and it’s just a pain to have
> to add the -c option all the time.

Why not make an alias: alias nano="nano --line --soft"?

(By the way, the short option for line numbers is -l, not -c;
-c is for constantly showing the cursor position.)

Why not make or upload a .nanorc file for the relevant user?

Benno

Reply via email to