<p></p>
<blockquote>
<p dir="auto">Upshot: you'll need to merge SCE_VISUALPROLOG_ANONYMOUS and SCE_VISUALPROLOG_VARIABLE into one style to emulate what Vim does:</p>
</blockquote>
<p dir="auto">So should we do that? I'm asking you because you seem to be the most proficient Prolog user around. Basically, when you edit <code class="notranslate">filetypes.prolog</code> and under the 'styling' section set e.g.:</p>
<pre class="notranslate"><code class="notranslate">variable=parameter
anonymous=parameter
</code></pre>
<p dir="auto">does it look good to you? Or is there a better choice than <code class="notranslate">parameter</code> for the mapping?</p>
<blockquote>
<p dir="auto">One more thing. SWI-Prolog <a href="https://wiki.visual-prolog.com/index.php?title=Language_Reference/Built-in_entities/Domains#string" rel="nofollow">uniquely</a> allows backticks to delimit <a href="https://www.swi-prolog.org/pldoc/man?section=string#:~:text=back-quoted%20text%20(as%20in%20%60text%60)%20is%20mapped%20to%20a%20list%20of%20character%20codes" rel="nofollow">string literals</a>:</p>
</blockquote>
<p dir="auto">Thanks for the patch, looks good to me, will add it.</p>
<blockquote>
<p dir="auto">I am not a Prologist but I wonder why SWI-prolog users would use Geany when SIW-prolog has a built-in editor? And why open source users would use SWI-prolog instead of GNU prolog?</p>
</blockquote>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/elextr/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/elextr">@elextr</a> SWI prolog is open source and as far as I can tell it is the most popular prolog implementation. On the other hand, Visual Prolog, for which the lexer is written is closed source and Windows only and this is the one I think doesn't need much of our attention.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/3171#issuecomment-1111899963">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ2CJRYHRT3ZQZM6WMLVHJEGPANCNFSM5TSVVLDQ">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAIOWJZMQSDARJ5KXDNCHTLVHJEGPA5CNFSM5TSVVLD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOIJDD6OY.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><geany/geany/pull/3171/c1111899963</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/3171#issuecomment-1111899963",
"url": "https://github.com/geany/geany/pull/3171#issuecomment-1111899963",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>