allow more env paths
This commit is contained in:
@@ -47,8 +47,11 @@ module.exports = grammar({
|
||||
),
|
||||
|
||||
_shebang_open: $ => '#!',
|
||||
// TODO: allow `usr/bin/env`, `env`
|
||||
_env: $ => '/usr/bin/env',
|
||||
_env: $ => choice(
|
||||
'/usr/bin/env',
|
||||
'/bin/env',
|
||||
'env',
|
||||
),
|
||||
_nix_shell: $ => 'nix-shell',
|
||||
_ws: $ => / +/,
|
||||
_opt_ws: $ => / */,
|
||||
|
Reference in New Issue
Block a user