From 53148462ac5364278a3771ffd01f6552ea7c701b Mon Sep 17 00:00:00 2001 From: Nan Noda <114621472+nannoda@users.noreply.github.com> Date: Wed, 17 Apr 2024 20:04:01 +0000 Subject: [PATCH 1/3] feat: add CSS stop configuration --- crates/tabby-common/assets/languages.toml | 31 +++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/crates/tabby-common/assets/languages.toml b/crates/tabby-common/assets/languages.toml index baa22bccddc..608bb7d8fd3 100644 --- a/crates/tabby-common/assets/languages.toml +++ b/crates/tabby-common/assets/languages.toml @@ -212,3 +212,34 @@ top_level_keywords = [ "function", "type", ] + +[[config]] +languages = ["css"] +line_comment = "/*" +top_level_keywords = [ + "color", + "font", + "margin", + "padding", + "display", + "position", + "width", + "height", + "background", + "border", + "box-shadow", + "animation", + "transition", + "flex", + "align-items", + "justify-content", + "text-align", + "overflow", + "float", + "clear", + "cursor", + "z-index", + "opacity", + "visibility", + "pointer-events", +] From 5d2b89a08ed6fa16669af6cbff3171acd9a3009e Mon Sep 17 00:00:00 2001 From: Meng Zhang Date: Thu, 9 May 2024 22:29:09 -0700 Subject: [PATCH 2/3] Update crates/tabby-common/assets/languages.toml --- crates/tabby-common/assets/languages.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/crates/tabby-common/assets/languages.toml b/crates/tabby-common/assets/languages.toml index 608bb7d8fd3..0357b9240c2 100644 --- a/crates/tabby-common/assets/languages.toml +++ b/crates/tabby-common/assets/languages.toml @@ -215,7 +215,6 @@ top_level_keywords = [ [[config]] languages = ["css"] -line_comment = "/*" top_level_keywords = [ "color", "font", From b1671ca4d2e85979bac2858ee63b1736ba2e9b1b Mon Sep 17 00:00:00 2001 From: Meng Zhang Date: Thu, 9 May 2024 22:29:35 -0700 Subject: [PATCH 3/3] Update crates/tabby-common/assets/languages.toml --- crates/tabby-common/assets/languages.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/tabby-common/assets/languages.toml b/crates/tabby-common/assets/languages.toml index 0357b9240c2..e587b72133b 100644 --- a/crates/tabby-common/assets/languages.toml +++ b/crates/tabby-common/assets/languages.toml @@ -215,6 +215,7 @@ top_level_keywords = [ [[config]] languages = ["css"] +exts = ["css"] top_level_keywords = [ "color", "font",