<p></p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/techee/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/techee">@techee</a>,<br>
It looks like the primary keyword set in your last commit left out the VisualProlog type specifiers [1] (or <a href="https://wiki.visual-prolog.com/index.php?title=Language_Reference/Built-in_entities#Domains" rel="nofollow">"Domains"</a>, as the spec calls them). Compare the appearance of <code>unsigned</code> in my <a href="https://user-images.githubusercontent.com/59004801/163895249-93885a44-09dd-457f-af0f-8a4e43270f71.png" rel="nofollow">earlier screen capture</a> with the one below (in the <a href="https://github.com/geany/geany-themes">Himbeere colorscheme</a>):</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/59004801/165013360-9ab0265f-1bbf-4a42-b5f7-31476368ddf6.png"><img src="https://user-images.githubusercontent.com/59004801/165013360-9ab0265f-1bbf-4a42-b5f7-31476368ddf6.png" alt="geany_himbeere_visualprolog_hl" style="max-width: 100%;"></a></p>
<p dir="auto">I'm confident that SWI-Prolog users will be completely happy 👍🏼</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/59004801/165013510-0c2ea3ca-7ac2-49fb-a8d5-dba47fc17b9f.png"><img src="https://user-images.githubusercontent.com/59004801/165013510-0c2ea3ca-7ac2-49fb-a8d5-dba47fc17b9f.png" alt="geany_himbeere_swi-pl-hl" style="max-width: 100%;"></a></p>
<p dir="auto">They're getting more lexical categories than even the VS Code extension recognizes. Notice, however, that <code>append</code> and <code>multifile</code> are styled by VS Code but not Geany:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/59004801/165013570-7bb85e59-3d2f-4a22-9c74-4a76b1965056.png"><img src="https://user-images.githubusercontent.com/59004801/165013570-7bb85e59-3d2f-4a22-9c74-4a76b1965056.png" alt="vscode_swi-pl_hl" style="max-width: 100%;"></a></p>
<p dir="auto">Neither is as complete as <a href="https://github.com/yochem/prolog.vim">prolog.vim</a>, but I think we have to accept that regex-capable parsers like Vim and Textmate grammars are simply better than Scintilla's match-every-character-of-one-lexeme-at-a-time model:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/59004801/165013653-8a8608a3-2254-4a07-88ef-4a668c44647b.png"><img src="https://user-images.githubusercontent.com/59004801/165013653-8a8608a3-2254-4a07-88ef-4a668c44647b.png" alt="prolog vim_swi-pl_hl" style="max-width: 100%;"></a></p>
<hr>
<p dir="auto">[1]: See <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/rdipardo/geany/commit/3baa85baa25cd36b4d0e437fe7cd7383a8299fc5/hovercard" href="https://github.com/rdipardo/geany/commit/3baa85baa25cd36b4d0e437fe7cd7383a8299fc5">rdipardo@<tt>3baa85b</tt></a><br>
The complete list is quite brief:</p>
<pre><code>any
binary
binaryNonAtomic
boolean
char
compareResult
factDB
handle
integer64
integerNative
null
pointer
real
real32
string8
symbol
unsigned
unsigned64
unsignedNative
</code></pre>

<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-1108031562">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJZBXSXBRTDAQ5MATGLVGYGCNANCNFSM5TSVVLDQ">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAIOWJZFVITR6QYSGTDQZ3DVGYGCNA5CNFSM5TSVVLD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOIIFTQSQ.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/c1108031562</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-1108031562",
"url": "https://github.com/geany/geany/pull/3171#issuecomment-1108031562",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>