Skip to content

Commit

Permalink
Handle new nodepath style for gdscript
Browse files Browse the repository at this point in the history
While at it, fix annotation style. Somehow an earlier lexilla import
falsely used decorator in filetypes.gdscript.
  • Loading branch information
kugel- committed Oct 4, 2023
1 parent 0f04b24 commit 59d8aee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion data/filedefs/filetypes.gdscript
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ identifier=identifier_1
commentblock=comment
stringeol=string_eol
word2=keyword_2
decorator=decorator
annotation=annotation
notepath=string_2

[keywords]
# all items must be in one line
Expand Down
3 changes: 2 additions & 1 deletion src/highlightingmappings.h
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,8 @@ static const HLStyle highlighting_styles_GDSCRIPT[] =
{ SCE_GD_COMMENTBLOCK, "commentblock", FALSE },
{ SCE_GD_STRINGEOL, "stringeol", FALSE },
{ SCE_GD_WORD2, "word2", FALSE },
{ SCE_GD_ANNOTATION, "annotation", FALSE }
{ SCE_GD_ANNOTATION, "annotation", FALSE },
{ SCE_GD_NODEPATH, "notepath", FALSE }
};
static const HLKeyword highlighting_keywords_GDSCRIPT[] =
{
Expand Down

0 comments on commit 59d8aee

Please sign in to comment.