Skip to content

Commit 0dd3c7e

Browse files
fix: support 'always' in 'CanonicalizeHostname'
Closes #11
1 parent dd32616 commit 0dd3c7e

File tree

6 files changed

+12450
-12414
lines changed

6 files changed

+12450
-12414
lines changed

grammar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ module.exports = grammar({
378378
_canonicalize_hostname: $ => seq(
379379
keyword('CanonicalizeHostname'),
380380
$._sep,
381-
argument($._boolean)
381+
argument(choice('always', $._boolean))
382382
),
383383

384384
_canonicalize_max_dots: $ => seq(

queries/highlights.scm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
"yes" "no"
2525
"ask" "auto"
2626
"none" "any"
27+
; CanonicalizeHostname
28+
"always"
2729
; ControlMaster
2830
"autoask"
2931
; FingerprintHash

src/grammar.json

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

src/node-types.json

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

0 commit comments

Comments
 (0)