Le 01/08/2019 à 19:24, Benno Schulenberg a écrit :
> 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?
In this case yes
>> but also for twig files.
> What are twig files?  ...  I'm guessing you are referring to:
>   https://en.wikipedia.org/wiki/Twig_(template_engine)
yes
> 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.
it s not only for php ecosystem, maybe all possible languages use on
server (web, compute, etc)
>> (if i remember well cuda/(opencl maybe) 
>> is missing in c/c++ file )
> Sorry, I don't understand what you mean here.
Cuda use .cu files but it’s just c/c++ improve files.

https://en.wikipedia.org/wiki/CUDA

>> Not include certain just broke others (sometimes).
> I cannot parse this.

don’t remember what i want to say but sometimes default files are not
working :

in a .php

    $routes->connect('/pages/*', ['controller' => 'Pages', 'action' =>
'display']);

the pages/*' just broke files because it thinks it need a close   */

Maybe it’s just on mine ?

But i should ask upstream for improve that stuff.

>> 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"?
already have one on my main devices, it’s more for others.
>
> (By the way, the short option for line numbers is -l, not -c;
> -c is for constantly showing the cursor position.)
Try, it indicate line number for the cursor. for me -c make more sense
than -l because permit to make copy paste without line number. (my en is
very poor)
>
> Why not make or upload a .nanorc file for the relevant user?
it take time ;)
>
> Benno
>

Attachment: 0x053A41EF03878A98.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to