fixed zig config on line_comments (#6979)

On a .zig files , the `CMD-/` keybinding don't work,
In the language config its the only language with '//' type comment that
is written in singular without array.
This fixed the problem, so i assume it was just a typo

![image](https://github.com/zed-industries/zed/assets/6186996/d7f2381a-8b21-4f50-8910-6685b81a5aec)

Release notes:
- Fixed line comment continuations and Editor::ToggleComments for Zig, Haskell and PureScript.
This commit is contained in:
Abel Chalier 2024-01-29 13:34:26 +01:00 committed by GitHub
parent 843919dd14
commit a827d0dac6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
name = "Haskell"
path_suffixes = ["hs"]
autoclose_before = ",=)}]"
line_comment = "-- "
line_comments = ["-- "]
block_comment = ["{- ", " -}"]
brackets = [
{ start = "{", end = "}", close = true, newline = true },

View file

@ -1,7 +1,7 @@
name = "PureScript"
path_suffixes = ["purs"]
autoclose_before = ",=)}]"
line_comment = "-- "
line_comments = ["-- "]
block_comment = ["{- ", " -}"]
brackets = [
{ start = "{", end = "}", close = true, newline = true },

View file

@ -1,6 +1,6 @@
name = "Zig"
path_suffixes = ["zig"]
line_comment = "// "
line_comments = ["// "]
autoclose_before = ";:.,=}])>"
brackets = [
{ start = "{", end = "}", close = true, newline = true },