> But how would I know what filedef is most like what I want, if I don't know > what the settings mean because I don't have any documention? How could I > possibly alter a filedef to what I need without an understanding of what the > settings could be? Is there documentation for filedefs? Where is it?
I found: > JAL (Just Another Language) is a **_Pascal_**-like programming language and > compiler so I took `filetypes.Cython.conf` (there are several similar files in Geany, this one just came across first), rename to `filetypes.JAL.conf` and changed it a bit: ```ini [styling=Pascal] [keywords] primary=else elsif end for forever if includes loop procedure return var while [settings] lexer_filetype=Pascal tag_parser=Pascal extension=jal comment_single=-- [build-menu] FT_00_LB=_Compile FT_00_CM=jal "%f" FT_00_WD= ``` I didn't test it, I just had a quick (very) look at the JAL documentation. Adding a file to Geany is described in the program documentation (use `~/.config/geany/filedefs`). -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/discussions/4507#discussioncomment-15712633 You are receiving this because you are subscribed to this thread. Message ID: <geany/geany/repo-discussions/4507/comments/[email protected]>
