diff --git a/BLACKHOLE.sublime-color-scheme b/BLACKHOLE.sublime-color-scheme index 8a6d21c..72b93bf 100644 --- a/BLACKHOLE.sublime-color-scheme +++ b/BLACKHOLE.sublime-color-scheme @@ -20,9 +20,9 @@ "background": "#141414", "caret": "#4DBAE2", "gutter": "#111111", - "gutter_foreground": "#555555", + "gutter_foreground": "#444444", "invisibles": "color(#FFFFFF alpha(0.30))", - "line_highlight": "color(#FFFFFF alpha(0.15))", + "line_highlight": "color(#FFFFFF alpha(0.10))", "line_diff_width": "2", "line_diff_added": "color(#8AE234 alpha(0.5))", "line_diff_modified": "color(#D6BD0A alpha(0.5))", @@ -387,6 +387,12 @@ "foreground": "#BA4C4C", "font_style": "bold" }, + { + "name": "Bibop Recipe Command Group Sign", + "scope": "bibop.command.group-sign", + "foreground": "#A33B2C", + "font_style": "" + }, { "scope": "entity.name.filename", "foreground": "#DBC33F" diff --git a/bibop-recipe.sublime-completions b/bibop-recipe.sublime-completions index 88f84dc..df7d539 100644 --- a/bibop-recipe.sublime-completions +++ b/bibop-recipe.sublime-completions @@ -43,6 +43,7 @@ { "trigger": "remove\t— Removes file or directory", "contents": "remove ${1:path}" }, { "trigger": "chmod\t— Changes file mode bits", "contents": "chmod ${1:target} ${2:mode}" }, { "trigger": "truncate\t— Changes the size of the file to zero", "contents": "truncate ${1:target}" }, + { "trigger": "cleanup\t— Removes all directories and files in the given directory", "contents": "cleanup ${1:dir}" }, { "trigger": "backup\t— Creates backup for the file", "contents": "backup ${1:path}" }, { "trigger": "backup-restore\t— Restore file from backup", "contents": "backup-restore ${1:path}" }, diff --git a/bibop-recipe.sublime-syntax b/bibop-recipe.sublime-syntax index c081400..9013ca8 100644 --- a/bibop-recipe.sublime-syntax +++ b/bibop-recipe.sublime-syntax @@ -67,11 +67,12 @@ contexts: scope: constant.numeric.integer.decimal.bibop commands: - - match: '^(command):*([a-z0-9]*)' + - match: '^([+]?)(command):*([a-z0-9]*)' captures: 0: support.function - 1: meta.function - 2: meta.function.tag + 1: bibop.command.group-sign + 2: meta.function + 3: meta.function.tag actions: - match: '^( |\t)[a-z-]+'