Skip to content

Commit 23a8c19

Browse files
committed
Added match regex & styling for null
1 parent e6906d4 commit 23a8c19

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

grammars/transact-sql.cson

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,8 @@ patterns: [
2121
match: '\\b[0-9]+(\\.[0-9]+)?\\b'
2222
name: 'numeric'
2323
}
24+
{
25+
match: '\\b(null|not null)\\b'
26+
name: 'null'
27+
}
2428
]

styles/language-transact-sql.less

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
@color-gray: #5C6370;
22
@color-green: #98C379;
33
@color-orange: #D19A66;
4+
@color-pink: #DD78AE;
45
@color-red: #E06C75;
56

67
atom-text-editor {
@@ -17,4 +18,7 @@ atom-text-editor {
1718
.syntax--numeric {
1819
color: @color-orange;
1920
}
21+
.syntax--null {
22+
color: @color-pink;
23+
}
2024
}

0 commit comments

Comments
 (0)