From eed9b7e5b57a728009a2b1c28561347ace058f7c Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Tue, 19 May 2020 20:38:33 +0200 Subject: [PATCH] strip --- .../Sublime-console/console.sublime-syntax | 33 ++----------------- 1 file changed, 2 insertions(+), 31 deletions(-) diff --git a/syntaxes/Sublime-console/console.sublime-syntax b/syntaxes/Sublime-console/console.sublime-syntax index 79bcde4..d923dbf 100644 --- a/syntaxes/Sublime-console/console.sublime-syntax +++ b/syntaxes/Sublime-console/console.sublime-syntax @@ -7,35 +7,6 @@ name: console scope: source.shell.console -file_extensions: - - sh - - bash - - zsh - - ash - - .bash_aliases - - .bash_completions - - .bash_functions - - .bash_login - - .bash_logout - - .bash_profile - - .bash_variables - - .bashrc - - .profile - - .textmate_init - - .zlogin - - .zlogout - - .zprofile - - .zshenv - - .zshrc - - PKGBUILD # https://jlk.fjfi.cvut.cz/arch/manpages/man/PKGBUILD.5 - - .ebuild - - .eclass - -#first_line_match: | -# (?x) -# ^\#! .* \b(bash|zsh|sh|tcsh|ash)\b -# | ^\# \s* -\*- [^*]* mode: \s* shell-script [^*]* -\*- - #------------------------------------------------------------------------------- variables: call_token: \./ @@ -119,6 +90,8 @@ contexts: push: console-line console-line: + - match: $ + pop: true - include: prototype - include: funcdef - include: vardef @@ -126,8 +99,6 @@ contexts: - include: operator-exclamation - match: '{{is_command}}' push: cmd - - match: $ - pop: true # NOTE: Contexts with a "-bt" suffix are the "backtick" contexts. They mirror # the ordinary contexts, except that when a backtick is encountered while in