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
3 changes: 3 additions & 0 deletions languages/properties/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ grammar = "properties"
path_suffixes = ["properties"]
line_comments = ["# "]
brackets = [{ start = "[", end = "]", close = true, newline = true }]

[overrides.property]
completion_query_characters = [".", "-"]
4 changes: 4 additions & 0 deletions languages/properties/overrides.scm
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
; Property keys are typed left-to-right, so the cursor sits at the end of the
; node; a non-inclusive capture would exclude that offset (see Zed's
; SyntaxLayer::override_id) and the override would never apply while typing.
(property) @property.inclusive
Loading