Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion extension.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ repository = "https://github.com/graphcal-lang/zed-graphcal"

[grammars.graphcal]
repository = "https://github.com/graphcal-lang/tree-sitter-graphcal"
rev = "b1bb618db937ca310a8851d142c951900d80f5be"
rev = "9b360c0cc63535539ef4eaf232af6de6a97a599b"

[language_servers.graphcal-lsp]
name = "Graphcal LSP"
Expand Down
2 changes: 2 additions & 0 deletions languages/graphcal/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -373,13 +373,15 @@
; ---------------------------------------------------------------

(figure_declaration name: (identifier) @variable)
(figure_plots_field "plots" @keyword)
(figure_named_field name: (identifier) @property)

; ---------------------------------------------------------------
; Layer declarations
; ---------------------------------------------------------------

(layer_declaration name: (identifier) @variable)
(layer_plots_field "plots" @keyword)
(layer_named_field name: (identifier) @property)

; ---------------------------------------------------------------
Expand Down
Loading