GDScript's new annotation style has not been fully integrated yet.

The [file type definition] still contains a `decorator=decorator` mapping. As a 
result, annotations don't show in [GDScript files] (lines 49, 51):

![gdscript-lexilla-524-no-annotations](https://github.com/geany/geany/assets/59004801/bc600a6d-5c6c-4b75-8ca3-affd679ffce6)

This appears to be a trivial fix:

~~~diff
diff --git a/data/filedefs/filetypes.gdscript b/data/filedefs/filetypes.gdscript
index 9b3b63951..d2ca49ffe 100644
--- a/data/filedefs/filetypes.gdscript
+++ b/data/filedefs/filetypes.gdscript
@@ -19 +19 @@ word2=keyword_2
-decorator=decorator
+annotation=decorator
~~~

![gdscript-lexilla-524-with-annotations](https://github.com/geany/geany/assets/59004801/7896aa77-6cf6-4dba-a24f-52dff48a4f75)

[GDScript files]: 
https://github.com/ScintillaOrg/lexilla/blob/dbdf25855177f0c5b3bc4520713fccd48c251257/test/examples/gdscript/AllStyles.gd
[file type definition]: 
https://github.com/Azq2/my-geany/blob/569e6f8990c756923cf17adb0038ada3ea7285dc/data/filedefs/filetypes.gdscript#L19

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3441#issuecomment-1610356458
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/3441/[email protected]>

Reply via email to