[Lazarus] git diff enhancement
Martin Frb
lazarus at mfriebe.de
Tue Sep 14 22:47:30 CEST 2021
On 14/09/2021 21:28, Marco van de Voort via lazarus wrote:
>
> Op 14-9-2021 om 17:55 schreef Martin Frb via lazarus:
>> On 14/09/2021 17:49, Marco van de Voort via lazarus wrote:
>>>
>>> Op 14-9-2021 om 17:17 schreef Martin Frb via lazarus:
>>>> In order for git to show pascal function headers.
>>>>
>>>> Add the following to your config
>>>>
>>>> [diff "fpc"]
>>>> xfuncname = "^(((class[
>>>> \\t]+)?(procedure|function)|constructor|destructor|[ \\t].*[ \\t]*=[
>>>
>>> operator?
>>>
>>
>> Yes, and you can also allow spaces at the begin of the line.
>>
>> I did not, to try and get the outer procedure always. Because
>> otherwise it finds nested procs, even if you are in the main body.
>>
>
> I meant "class operator" is also a method like declaration
>
yes,
When I wrote "Yes, and you can also allow spaces at the begin of the line."
The "yes" applied to "operator may be included too". And then I went on
and talked about something else.
I do see, how this does not come across, if you don't have inside info
from inside my head.
More information about the lazarus
mailing list