strip
This commit is contained in:
parent
d84a469e27
commit
eed9b7e5b5
|
@ -7,35 +7,6 @@ name: console
|
||||||
|
|
||||||
scope: source.shell.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:
|
variables:
|
||||||
call_token: \./
|
call_token: \./
|
||||||
|
@ -119,6 +90,8 @@ contexts:
|
||||||
push: console-line
|
push: console-line
|
||||||
|
|
||||||
console-line:
|
console-line:
|
||||||
|
- match: $
|
||||||
|
pop: true
|
||||||
- include: prototype
|
- include: prototype
|
||||||
- include: funcdef
|
- include: funcdef
|
||||||
- include: vardef
|
- include: vardef
|
||||||
|
@ -126,8 +99,6 @@ contexts:
|
||||||
- include: operator-exclamation
|
- include: operator-exclamation
|
||||||
- match: '{{is_command}}'
|
- match: '{{is_command}}'
|
||||||
push: cmd
|
push: cmd
|
||||||
- match: $
|
|
||||||
pop: true
|
|
||||||
|
|
||||||
# NOTE: Contexts with a "-bt" suffix are the "backtick" contexts. They mirror
|
# NOTE: Contexts with a "-bt" suffix are the "backtick" contexts. They mirror
|
||||||
# the ordinary contexts, except that when a backtick is encountered while in
|
# the ordinary contexts, except that when a backtick is encountered while in
|
||||||
|
|
Loading…
Reference in a new issue