Skip to content

Commit 77196e0

Browse files
authored
Add comments configuration for YAML language
1 parent 08417ec commit 77196e0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/src/single_line_comments/parser/single_line_comments.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import 'package:highlight/languages/php.dart';
66
import 'package:highlight/languages/python.dart';
77
import 'package:highlight/languages/scala.dart';
88
import 'package:highlight/languages/vhdl.dart';
9+
import 'package:highlight/languages/yaml.dart';
910

1011
class SingleLineComments {
1112
const SingleLineComments._();
@@ -18,6 +19,7 @@ class SingleLineComments {
1819
python: [_hash],
1920
scala: [_slashes],
2021
vhdl: [_hyphenMinuses],
22+
yaml: [_hash],
2123
};
2224

2325
static const _slashes = '//';

0 commit comments

Comments
 (0)