From 42edb4cd02e70b3b590d381fa1a282c678572b1d Mon Sep 17 00:00:00 2001 From: deathaxe Date: Sat, 9 Mar 2024 20:47:46 +0100 Subject: [PATCH] Update preferences --- Preferences/Comments.tmPreferences | 2 -- Preferences/Fold.tmPreferences | 10 +++++++++- Preferences/Indexed Reference List.tmPreferences | 2 +- Preferences/Indexed Symbol List.tmPreferences | 5 +++-- .../Symbol List - Functions.tmPreferences | 16 ++++++++++++++++ Preferences/Symbol List - Mixins.tmPreferences | 16 ++++++++++++++++ .../Symbol List - Variables.tmPreferences | 2 +- 7 files changed, 46 insertions(+), 7 deletions(-) create mode 100644 Preferences/Symbol List - Functions.tmPreferences create mode 100644 Preferences/Symbol List - Mixins.tmPreferences diff --git a/Preferences/Comments.tmPreferences b/Preferences/Comments.tmPreferences index 4117df69..673485ce 100644 --- a/Preferences/Comments.tmPreferences +++ b/Preferences/Comments.tmPreferences @@ -1,8 +1,6 @@ - name - Comments scope source.sass, source.scss settings diff --git a/Preferences/Fold.tmPreferences b/Preferences/Fold.tmPreferences index 7efef01f..7a2dd881 100644 --- a/Preferences/Fold.tmPreferences +++ b/Preferences/Fold.tmPreferences @@ -2,7 +2,7 @@ scope - source.less + source.scss settings foldScopes @@ -39,6 +39,14 @@ excludeTrailingNewlines + + begin + punctuation.section.interpolation.begin + end + punctuation.section.interpolation.end + excludeTrailingNewlines + + diff --git a/Preferences/Indexed Reference List.tmPreferences b/Preferences/Indexed Reference List.tmPreferences index 0204de99..90ffb764 100644 --- a/Preferences/Indexed Reference List.tmPreferences +++ b/Preferences/Indexed Reference List.tmPreferences @@ -4,7 +4,7 @@ scope source.scss meta.at-rule.import meta.function-call.arguments entity.other.layer, - source.scss variable.other - source.scss variable.other punctuation.definition.variable - meta.declaration.identifier + source.scss variable.other - source.scss variable punctuation.definition.variable - meta.declaration.identifier settings diff --git a/Preferences/Indexed Symbol List.tmPreferences b/Preferences/Indexed Symbol List.tmPreferences index fd569b30..27fe52d2 100644 --- a/Preferences/Indexed Symbol List.tmPreferences +++ b/Preferences/Indexed Symbol List.tmPreferences @@ -3,8 +3,9 @@ scope - source.scss meta.declaration.identifier variable.other - source.scss variable.other punctuation.definition.variable, - source.scss meta.function.parameters.scss variable.parameter - source.scss variable.parameter punctuation.definition.variable, + source.scss meta.declaration.identifier variable.other - source.scss variable punctuation.definition.variable, + source.scss meta.function.parameters variable.parameter - source.scss variable punctuation.definition.variable, + source.scss entity.name.mixin, source.scss entity.other.custom-property settings diff --git a/Preferences/Symbol List - Functions.tmPreferences b/Preferences/Symbol List - Functions.tmPreferences new file mode 100644 index 00000000..a34af9a4 --- /dev/null +++ b/Preferences/Symbol List - Functions.tmPreferences @@ -0,0 +1,16 @@ + + + + scope + source.scss entity.name.function + settings + + showInSymbolList + 1 + symbolTransformation + + s/^/@function /; + + + + diff --git a/Preferences/Symbol List - Mixins.tmPreferences b/Preferences/Symbol List - Mixins.tmPreferences new file mode 100644 index 00000000..ddd0f905 --- /dev/null +++ b/Preferences/Symbol List - Mixins.tmPreferences @@ -0,0 +1,16 @@ + + + + scope + source.scss entity.name.mixin + settings + + showInSymbolList + 1 + symbolTransformation + + s/^/@mixin /; + + + + diff --git a/Preferences/Symbol List - Variables.tmPreferences b/Preferences/Symbol List - Variables.tmPreferences index 3eba1f41..2f96ffce 100644 --- a/Preferences/Symbol List - Variables.tmPreferences +++ b/Preferences/Symbol List - Variables.tmPreferences @@ -2,7 +2,7 @@ scope - meta.declaration.identifier.scss variable.other + source.scss meta.declaration.identifier variable.other settings showInSymbolList