@techee,
It looks like the primary keyword set in your last commit left out the VisualProlog type specifiers [1] (or "Domains", as the spec calls them). Compare the appearance of unsigned in my earlier screen capture with the one below (in the Himbeere colorscheme):

geany_himbeere_visualprolog_hl

I'm confident that SWI-Prolog users will be completely happy 👍🏼

geany_himbeere_swi-pl-hl

They're getting more lexical categories than even the VS Code extension recognizes. Notice, however, that append and multifile are styled by VS Code but not Geany:

vscode_swi-pl_hl

Neither is as complete as prolog.vim, 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:

prolog vim_swi-pl_hl


[1]: See rdipardo@3baa85b
The complete list is quite brief:

any
binary
binaryNonAtomic
boolean
char
compareResult
factDB
handle
integer64
integerNative
null
pointer
real
real32
string8
symbol
unsigned
unsigned64
unsignedNative


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/pull/3171/c1108031562@github.com>