Skip to content

Commit 815f8fa

Browse files
committed
feat: remove custom command aliases due to conflicts with variable assignments, and there's no indication this can be used in the config file
1 parent e7c50bc commit 815f8fa

5 files changed

Lines changed: 623458 additions & 748692 deletions

File tree

grammar.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ module.exports = grammar({
117117
$.unbind_key_directive,
118118
$.unlink_window_directive,
119119
$.wait_for_directive,
120-
$.alias_directive,
121120
),
122121
_command_separator: (_) => choice(";", "\\;", "';'", /\r?\n/),
123122

@@ -888,15 +887,6 @@ module.exports = grammar({
888887
$.channel,
889888
),
890889

891-
alias_directive: ($) =>
892-
prec.left(
893-
command(
894-
$,
895-
/[a-z-]+/,
896-
repeat(choice(alias(/-\w+/, $.command_line_option), $._string)),
897-
),
898-
),
899-
900890
option: (_) => /@?[A-Za-z-_\d]+/,
901891

902892
hash_escape: (_) => token.immediate(prec(1, /#[#,}]/)),

src/grammar.json

Lines changed: 0 additions & 43 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)